diff --git a/code/game/objects/effects/spiders.dm b/code/game/objects/effects/spiders.dm index 109bebeef53..3e107738002 100644 --- a/code/game/objects/effects/spiders.dm +++ b/code/game/objects/effects/spiders.dm @@ -40,6 +40,18 @@ health -= damage healthcheck() +/obj/effect/spider/spiderling/attack_hand(mob/living/user) + user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN) + user.do_attack_animation(src) + if(prob(20)) + visible_message("\The [user] tries to stomp on \the [src], but misses!") + var/list/nearby = oview(2, src) + if(length(nearby)) + walk_to(src, pick(nearby), 2) + return + visible_message("\The [user] stomps \the [src] dead!") + die() + /obj/effect/spider/bullet_act(var/obj/item/projectile/Proj) ..() health -= Proj.get_structure_damage()