mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-12 15:47:04 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user