Merge pull request #5525 from VOREStation/upstream-merge-6331

[MIRROR] Makes Husking Require More Burn
This commit is contained in:
Novacat
2019-07-27 16:24:49 -04:00
committed by GitHub
2 changed files with 38 additions and 1 deletions
@@ -1,5 +1,6 @@
//Updates the mob's health from organs and mob damage variables
/mob/living/carbon/human/updatehealth()
var/huskmodifier = 1.5 // With 1.5, you need 250 burn instead of 200 to husk a human.
if(status_flags & GODMODE)
health = getMaxHealth()
@@ -17,7 +18,7 @@
health = getMaxHealth() - getOxyLoss() - getToxLoss() - getCloneLoss() - total_burn - total_brute
//TODO: fix husking
if( ((getMaxHealth() - total_burn) < config.health_threshold_dead) && stat == DEAD)
if( ((getMaxHealth() - total_burn) < config.health_threshold_dead * huskmodifier) && stat == DEAD)
ChangeToHusk()
return