Scorched Earth Backend (#8914)

This commit is contained in:
Geeves
2020-05-21 21:09:24 +02:00
committed by GitHub
parent 60c5bc046e
commit 51f4dea7d2
@@ -11,10 +11,11 @@
health = maxHealth - getBrainLoss()
if(stat == DEAD)
if(getFireLoss() > maxHealth * 1.5)
ChangeToHusk()
if(getFireLoss() > maxHealth * 3)
var/fire_dmg = getFireLoss()
if(fire_dmg > maxHealth * 3)
ChangeToSkeleton()
else if(fire_dmg > maxHealth * 1.5)
ChangeToHusk()
UpdateDamageIcon() // to fix that darn overlay bug
return