From 682d59211e71cdb87128789a898cab7aa87078e7 Mon Sep 17 00:00:00 2001 From: Beagle <56142455+BeagleGaming1@users.noreply.github.com> Date: Sun, 6 Aug 2023 16:36:16 -0400 Subject: [PATCH] no negative damage --- code/modules/reagents/chemistry_properties/prop_positive.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry_properties/prop_positive.dm b/code/modules/reagents/chemistry_properties/prop_positive.dm index c868e4d9351b..efd90b8062b9 100644 --- a/code/modules/reagents/chemistry_properties/prop_positive.dm +++ b/code/modules/reagents/chemistry_properties/prop_positive.dm @@ -518,7 +518,7 @@ return var/mob/living/carbon/human/current_human = current_mob /// How much damage the organ can take before stabilizing becomes less efficient or stops working - var/stabilized_damage = Clamp(POTENCY_MULTIPLIER_EXTREME * potency, 0, 100) + var/stabilized_damage = max(POTENCY_MULTIPLIER_EXTREME * potency, 0) /// The chance of the organ still doing its damage effect var/stabilized_effectiveness = Clamp(POTENCY_MULTIPLIER_EXTREME * level, 0, 100) for(var/datum/internal_organ/organ in current_human.internal_organs)