From 57ec6291a935a34a3fb392064e6d811e4be39f53 Mon Sep 17 00:00:00 2001 From: Vile Beggar Date: Sat, 24 Aug 2024 20:13:28 +0200 Subject: [PATCH] fix disarm bug --- .../living/simple_animal/hostile/retaliate/giant_lizard.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/giant_lizard.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/giant_lizard.dm index 6bb0202c2deb..25799cb37bd5 100644 --- a/code/modules/mob/living/simple_animal/hostile/retaliate/giant_lizard.dm +++ b/code/modules/mob/living/simple_animal/hostile/retaliate/giant_lizard.dm @@ -227,8 +227,9 @@ manual_emote(pick(pick(pet_emotes), "stares at [attacking_mob].", "nuzzles [attacking_mob].", "licks [attacking_mob]'s hand."), "nibbles [attacking_mob]'s arm.", "flicks its tongue at [attacking_mob].") if(prob(50)) playsound(loc, "giant_lizard_hiss", 25) - if(attacking_mob.a_intent == INTENT_DISARM && prob(75)) - step_to(src, get_step(loc, attacking_mob.dir), 0, LIZARD_SPEED_NORMAL) + if(attacking_mob.a_intent == INTENT_DISARM && prob(25)) + playsound(loc, 'sound/weapons/alien_knockdown.ogg', 25, 1) + KnockDown(0.4) //apply blood splatter when attacked by a sufficently damaging sharp weapon /mob/living/simple_animal/hostile/retaliate/giant_lizard/attackby(obj/item/weapon, mob/living/carbon/human/attacker)