Attack chain migration: /mob (#28211)

* Attack chain migration: /mob

* always target zone on attack for tests

* thread corgi item interactions through to parent

* put away razor

* standardize test names

* fix harmbaton not beating + stunning

* fix ID cards not unlocking bots

* fix fulton

* fix fulton shenanigans

* fix tumor shards
This commit is contained in:
warriorstar-orion
2025-03-11 23:37:11 +00:00
committed by GitHub
parent 179dfe6280
commit e69c572b19
46 changed files with 284 additions and 235 deletions
@@ -159,10 +159,11 @@
if(!faction_check_mob(M))
enemies |= M
/mob/living/simple_animal/hostile/poison/giant_spider/hunter/infestation_spider/attackby__legacy__attackchain(obj/item/W, mob/user, params)
. = ..()
/mob/living/simple_animal/hostile/poison/giant_spider/hunter/infestation_spider/attack_by(obj/item/W, mob/living/user, params)
if(..())
return FINISH_ATTACK
if(W.force == 0)
return
return FINISH_ATTACK
if(!faction_check_mob(user))
enemies |= user