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.
This commit is contained in:
Neerti
2016-03-06 06:55:56 -05:00
parent 5286b8426e
commit daf632ddc3

View File

@@ -960,7 +960,7 @@
src << "<span class='notice'>You're in too much pain to keep going...</span>" src << "<span class='notice'>You're in too much pain to keep going...</span>"
src.visible_message("<B>[src]</B> slumps to the ground, too weak to continue fighting.") src.visible_message("<B>[src]</B> slumps to the ground, too weak to continue fighting.")
Paralyse(10) Paralyse(10)
setHalLoss(99) setHalLoss(species.total_health - 1)
if(paralysis || sleeping) if(paralysis || sleeping)
blinded = 1 blinded = 1