Fixes species that cannot take oxygen damage being unable to succumb (#3546)

This commit is contained in:
Alberyk
2017-10-07 00:43:29 -05:00
committed by Lohikar
parent 25c805de1c
commit a16f05b5e6
2 changed files with 7 additions and 2 deletions
+1 -2
View File
@@ -165,8 +165,7 @@ default behaviour is:
/mob/living/verb/succumb()
set hidden = 1
if ((src.health < 0 && src.health > -95.0))
src.adjustOxyLoss(src.health + 200)
src.health = 100 - src.getOxyLoss() - src.getToxLoss() - src.getFireLoss() - src.getBruteLoss()
src.death()
src << "<span class='notice'>You have given up life and succumbed to death.</span>"
else
src << "<span class='warning'>You are not injured enough to succumb to death!</span>"