Fixes Teshari slowdown being applied due to health values.

This commit is contained in:
Zuhayr
2016-02-10 11:47:20 +10:30
parent c5926951f3
commit 9205a938eb
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@
if(CE_SPEEDBOOST in chem_effects)
return -1
var/health_deficiency = (100 - health)
var/health_deficiency = (maxHealth - health)
if(health_deficiency >= 40) tally += (health_deficiency / 25)
if(can_feel_pain())
@@ -24,7 +24,7 @@
damage_mask = 'icons/mob/human_races/masks/dam_mask_seromi.dmi'
blood_mask = 'icons/mob/human_races/masks/blood_seromi.dmi'
slowdown = -2
slowdown = -1
total_health = 50
brute_mod = 1.35
burn_mod = 1.35