mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Further decreases bloodloss from burn damage
This commit is contained in:
@@ -492,7 +492,7 @@ This function completely restores a damaged organ to perfect condition.
|
|||||||
|
|
||||||
//Burn damage can cause fluid loss due to blistering and cook-off
|
//Burn damage can cause fluid loss due to blistering and cook-off
|
||||||
if((damage > 5 || damage + burn_dam >= 15) && type == BURN && (robotic < ORGAN_ROBOT) && !(species.flags & NO_BLOOD))
|
if((damage > 5 || damage + burn_dam >= 15) && type == BURN && (robotic < ORGAN_ROBOT) && !(species.flags & NO_BLOOD))
|
||||||
var/fluid_loss = 0.75 * (damage/(owner.getMaxHealth() - config.health_threshold_dead)) * owner.species.blood_volume*(1 - BLOOD_VOLUME_SURVIVE/100)
|
var/fluid_loss = 0.4 * (damage/(owner.getMaxHealth() - config.health_threshold_dead)) * owner.species.blood_volume*(1 - BLOOD_VOLUME_SURVIVE/100)
|
||||||
owner.remove_blood(fluid_loss)
|
owner.remove_blood(fluid_loss)
|
||||||
|
|
||||||
// first check whether we can widen an existing wound
|
// first check whether we can widen an existing wound
|
||||||
|
|||||||
Reference in New Issue
Block a user