Makes size slowdown less severe

This commit is contained in:
Dahlular
2021-06-18 17:19:34 -06:00
committed by GitHub
parent 53b8213261
commit 87ab1217f0
+1 -1
View File
@@ -49,7 +49,7 @@ mob/living/get_effective_size()
src.update_mobsize()
//Going to change the health and speed values too
src.remove_movespeed_modifier(MOVESPEED_ID_SIZE)
src.add_movespeed_modifier(MOVESPEED_ID_SIZE, multiplicative_slowdown = (abs(size_multiplier - 1) * 0.8 ))
src.add_movespeed_modifier(MOVESPEED_ID_SIZE, multiplicative_slowdown = (abs(size_multiplier - 1) * 0.4 ))
var/healthmod_old = ((previous_size * 75) - 75) //Get the old value to see what we must change.
var/healthmod_new = ((size_multiplier * 75) - 75) //A size of one would be zero. Big boys get health, small ones lose health.
var/healthchange = healthmod_new - healthmod_old //Get ready to apply the new value, and subtract the old one. (Negative values become positive)