From d1ba1247436de9d71275b6e0558251e0a0d73832 Mon Sep 17 00:00:00 2001 From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Thu, 16 Jun 2022 15:47:04 +0100 Subject: [PATCH] blood cap --- code/modules/mob/living/carbon/damage_procs.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/damage_procs.dm b/code/modules/mob/living/carbon/damage_procs.dm index dcd72fd5d1..672db6db53 100644 --- a/code/modules/mob/living/carbon/damage_procs.dm +++ b/code/modules/mob/living/carbon/damage_procs.dm @@ -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()