Makes cryoxadone heal clone damage again

This commit is contained in:
Jordan Brown
2017-11-13 17:40:10 -05:00
committed by CitadelStationBot
parent 4afc4f5b39
commit c3a4d0d06a
@@ -164,6 +164,7 @@
metabolization_rate = 1.5 * REAGENTS_METABOLISM
/datum/reagent/medicine/clonexadone/on_mob_life(mob/living/M)
<<<<<<< HEAD
switch(M.bodytemperature) // Low temperatures are required to take effect.
if(0 to 100) // At extreme temperatures (upgraded cryo) the effect is greatly increased.
M.status_flags &= ~DISFIGURED
@@ -177,6 +178,13 @@
M.status_flags &= ~DISFIGURED
M.adjustCloneLoss(-2, 0)
. = 1
=======
if(M.bodytemperature < T0C)
M.adjustCloneLoss(0.00006 * (M.bodytemperature ** 2) - 6, 0)
M.status_flags &= ~DISFIGURED
. = 1
metabolization_rate = REAGENTS_METABOLISM * (0.000015 * (M.bodytemperature ** 2) + 0.75)
>>>>>>> 5cf4809... Merge pull request #32723 from nicbn/ohnoohnoohno
..()
/datum/reagent/medicine/rezadone