mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user