Skip to content

Commit

Permalink
changes math from (sqrt(20+A.totalStageSpeed()*3))-(sqrt(16+A.totalSt…
Browse files Browse the repository at this point in the history
…ealth()*(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()))
  • Loading branch information
LanCartwright committed Mar 16, 2016
1 parent c05c6f4 commit 09a5017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/diseases/advance/symptoms/heal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 09a5017

Please sign in to comment.