Skip to content

Commit

Permalink
fixes vamp lurker attacking through doors, podlocks etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdtalon committed Nov 13, 2023
1 parent 66e9557 commit 5a8bb4e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@
xeno.visible_message(SPAN_XENOWARNING("\The [xeno] strikes the window with their tail!"), SPAN_XENOWARNING("You strike the window with your tail!"))
apply_cooldown(cooldown_modifier = 0.5)
return
if(current_structure.density)
to_chat(xeno, SPAN_WARNING("There's something blocking you from striking!"))
return

if(!isxeno_human(hit_target) || xeno.can_not_harm(hit_target) || hit_target.stat == DEAD)
xeno.visible_message(SPAN_XENOWARNING("\The [xeno] swipes their tail through the air!"), SPAN_XENOWARNING("You swipe your tail through the air!"))
Expand Down

0 comments on commit 5a8bb4e

Please sign in to comment.