From daf632ddc351c22b35eb9d3226fabe7d5c3ddac9 Mon Sep 17 00:00:00 2001 From: Neerti Date: Sun, 6 Mar 2016 06:55:56 -0500 Subject: [PATCH] Fixes Teshari Permastun The game had it hardcoded to set halloss to 99, while it triggers for teshari at 50, resulting in an infinite loop. --- code/modules/mob/living/carbon/human/life.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 614ebe9e92..47cca0e5cf 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -960,7 +960,7 @@ src << "You're in too much pain to keep going..." src.visible_message("[src] slumps to the ground, too weak to continue fighting.") Paralyse(10) - setHalLoss(99) + setHalLoss(species.total_health - 1) if(paralysis || sleeping) blinded = 1