mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Prevent attacking vore mobs from within them (#627)
This commit is contained in:
committed by
Spades
parent
b1b0f28938
commit
2e5f80175c
@@ -310,6 +310,8 @@
|
|||||||
M.do_attack_animation(src)
|
M.do_attack_animation(src)
|
||||||
|
|
||||||
if(I_HURT)
|
if(I_HURT)
|
||||||
|
if (M.loc == src)
|
||||||
|
return // VOREStation Edit
|
||||||
adjustBruteLoss(harm_intent_damage)
|
adjustBruteLoss(harm_intent_damage)
|
||||||
M.visible_message("\red [M] [response_harm] \the [src]")
|
M.visible_message("\red [M] [response_harm] \the [src]")
|
||||||
M.do_attack_animation(src)
|
M.do_attack_animation(src)
|
||||||
|
|||||||
Reference in New Issue
Block a user