mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +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)
|
||||||
@@ -637,4 +639,4 @@
|
|||||||
if(!target_mob || enroute)
|
if(!target_mob || enroute)
|
||||||
spawn(10)
|
spawn(10)
|
||||||
if(!src.stat)
|
if(!src.stat)
|
||||||
horde()
|
horde()
|
||||||
|
|||||||
Reference in New Issue
Block a user