Fixes a medical chem not taking species chem strength into account (#18496)

Fixes a medical chem not taking species chem strength into account
This commit is contained in:
Cameron Lennox
2025-09-15 17:24:38 -04:00
committed by GitHub
parent e5445268e3
commit 96483d1f19
+5 -4
View File
@@ -1409,6 +1409,7 @@
/datum/reagent/rezadone/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
if(alien == IS_DIONA)
return
var/strength_mod = 1 * M.species.chem_strength_heal
var/mob/living/carbon/human/H = M
if(alien == IS_SLIME && istype(H))
if(prob(50))
@@ -1432,10 +1433,10 @@
H.b_hair = round((H.b_hair + 50)/2)
if(H.b_facial)
H.b_facial = round((H.b_facial + 50)/2)
M.adjustCloneLoss(-20 * removed)
M.adjustOxyLoss(-2 * removed)
M.heal_organ_damage(20 * removed, 20 * removed)
M.adjustToxLoss(-20 * removed)
M.adjustCloneLoss(-20 * removed * strength_mod)
M.adjustOxyLoss(-2 * removed * strength_mod)
M.heal_organ_damage(20 * removed, 20 * removed * strength_mod)
M.adjustToxLoss(-20 * removed * strength_mod)
if(dose > 3)
M.status_flags &= ~DISFIGURED
if(dose > 10)