From 09a50175299653f2e2dd13705fd40bfceab9eea1 Mon Sep 17 00:00:00 2001 From: Akke Date: Wed, 16 Mar 2016 00:50:35 +0000 Subject: [PATCH] changes math from (sqrt(20+A.totalStageSpeed()*3))-(sqrt(16+A.totalStealth()*(1+rand()))) to (M.reagents.get_reagent_amount("mannitol") < 10) + M.reagents.add_reagent("mannitol", 10) to (sqrt(20+A.totalStageSpeed()*(3+rand())))-(sqrt(16+A.totalStealth()*rand())) --- code/datums/diseases/advance/symptoms/heal.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/diseases/advance/symptoms/heal.dm b/code/datums/diseases/advance/symptoms/heal.dm index 0bcb7775a34..59b55e1e88e 100644 --- a/code/datums/diseases/advance/symptoms/heal.dm +++ b/code/datums/diseases/advance/symptoms/heal.dm @@ -147,8 +147,8 @@ Bonus level = 5 /datum/symptom/heal/dna/Heal(mob/living/carbon/M, datum/disease/advance/A) - if (M.reagents.get_reagent_amount("mannitol") < 10) - M.reagents.add_reagent("mannitol", 10) + var/amt_healed = (sqrt(20+A.totalStageSpeed()*(3+rand())))-(sqrt(16+A.totalStealth()*rand())) + M.adjustBrainLoss(-amt_healed) //Non-power mutations, excluding race, so the virus does not force monkey -> human transformations. var/list/unclean_mutations = (not_good_mutations|bad_mutations) - mutations_list[RACEMUT] M.dna.remove_mutation_group(unclean_mutations)