Boxing gloves haymaker now weakens instead of sleeping (#15148)

This commit is contained in:
dearmochi
2021-01-10 20:11:33 +00:00
committed by GitHub
parent f6b80268d7
commit f02a5903b2
+2 -2
View File
@@ -14,7 +14,7 @@
A.do_attack_animation(D, ATTACK_EFFECT_PUNCH)
var/atk_verb = pick("left hook","right hook","straight punch")
var/damage = rand(5, 8) + A.dna.species.punchdamagelow
if(!damage)
playsound(D.loc, 'sound/weapons/punchmiss.ogg', 25, 1, -1)
@@ -39,7 +39,7 @@
D.visible_message("<span class='danger'>[A] has knocked [D] out with a haymaker!</span>", \
"<span class='userdanger'>[A] has knocked [D] out with a haymaker!</span>")
D.apply_effect(10,WEAKEN,armor_block)
D.SetSleeping(5)
D.Weaken(5)
D.forcesay(GLOB.hit_appends)
else if(D.lying)
D.forcesay(GLOB.hit_appends)