makes CQC not theoretically heal losebreath (#19511)

* makes CQC not theoretically heal losebreath

* hal told me to
This commit is contained in:
Qwertytoforty
2022-10-28 20:27:19 +02:00
committed by GitHub
parent 4b0a2fc085
commit 1902641665
+1 -1
View File
@@ -31,7 +31,7 @@
var/damage_multiplier = 1 + A.getStaminaLoss() / 100 //The chokehold is more effective the more tired the target is.
while(do_mob(A, D, 2 SECONDS) && chokehold_active)
D.apply_damage(10 * damage_multiplier, OXY)
D.SetLoseBreath(3 SECONDS)
D.LoseBreath(3 SECONDS)
if(D.getOxyLoss() >= 50 || D.health <= 20)
D.visible_message("<span class ='danger>[A] puts [D] to sleep!</span>", \
"<span class='userdanger'>[A] knocks you out cold!</span>")