From 9205a938eb78b6a115eb99df7860686e2fe404c4 Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Wed, 10 Feb 2016 11:47:20 +1030 Subject: [PATCH] Fixes Teshari slowdown being applied due to health values. --- code/modules/mob/living/carbon/human/human_movement.dm | 2 +- code/modules/mob/living/carbon/human/species/station/seromi.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index ba3d29c33a1..9a7cbbe06a4 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -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()) diff --git a/code/modules/mob/living/carbon/human/species/station/seromi.dm b/code/modules/mob/living/carbon/human/species/station/seromi.dm index eebd7f7efd7..567da2d86f9 100644 --- a/code/modules/mob/living/carbon/human/species/station/seromi.dm +++ b/code/modules/mob/living/carbon/human/species/station/seromi.dm @@ -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