Skip to content

Commit

Permalink
Minmax
Browse files Browse the repository at this point in the history
Sent from my iPhone.
  • Loading branch information
Shadow-Quill authored Aug 23, 2019
1 parent 0f5cc3b commit acafb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/diseases/advance/symptoms/shivering.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ Bonus

/datum/symptom/shivering/proc/Chill(mob/living/M, datum/disease/advance/A)
var/get_cold = (sqrtor0(16+A.totalStealth()*2))+(sqrtor0(21+A.totalResistance()*2))
M.bodytemperature = min(M.bodytemperature - (get_cold * A.stage), BODYTEMP_COLD_DAMAGE_LIMIT + 1)
M.bodytemperature = max(M.bodytemperature - (get_cold * A.stage), BODYTEMP_COLD_DAMAGE_LIMIT + 1)
return 1

0 comments on commit acafb38

Please sign in to comment.