blood cap

This commit is contained in:
Timothy Teakettle
2022-06-16 15:47:04 +01:00
parent c7f6d3b574
commit d1ba124743
@@ -93,9 +93,9 @@
// don't allow toxinlover to push blood levels past BLOOD_VOLUME_MAXIMUM, but also don't set it back down to this if it's higher from something else
var/blood_cap = blood_volume > BLOOD_VOLUME_MAXIMUM ? blood_volume : BLOOD_VOLUME_MAXIMUM
if(amount > 0)
blood_volume blood_volume - min((3 * amount), blood_cap) //5x was too much, this is punishing enough.
blood_volume blood_volume - min((3 * amount), blood_cap) //5x was too much, this is punishing enough.
else
blood_volume = min(blood_volume - amount), blood_cap)
blood_volume = min((blood_volume - amount), blood_cap)
return ..()
/mob/living/carbon/getStaminaLoss()