Skip to content

Commit

Permalink
no negative damage
Browse files Browse the repository at this point in the history
  • Loading branch information
BeagleGaming1 committed Aug 6, 2023
1 parent ffdfd53 commit 682d592
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 682d592

Please sign in to comment.