This commit is contained in:
kevinz000
2020-01-16 00:14:03 -07:00
parent 1acac87da3
commit 26525b8fa7
7 changed files with 21 additions and 24 deletions
+1 -1
View File
@@ -227,7 +227,7 @@
H.visible_message("<span class='warning'>[H] collapses!</span>", \
"<span class='userdanger'>Your legs give out!</span>")
H.DefaultCombatKnockdown(80)
if(H.staminaloss && !H.IsSleeping())
if(H.staminaloss && !_REFACTORING_H.IsSleeping())
var/total_health = (H.health - H.staminaloss)
if(total_health <= HEALTH_THRESHOLD_CRIT && !H.stat)
H.visible_message("<span class='warning'>[user] delivers a heavy hit to [H]'s head, knocking [H.p_them()] out cold!</span>", \