From cdc4e6e0f8b493301dec0e67b4916cb364395d1d Mon Sep 17 00:00:00 2001 From: Screemonster Date: Tue, 7 Feb 2017 00:48:43 +0000 Subject: [PATCH] Adjusts CE_SPEEDBOOST to not just return -3 --- code/modules/mob/living/carbon/human/human_movement.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index 8a06c1115b1..80bfd2259d9 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -13,9 +13,6 @@ if(force_max_speed) return -3 // Returning -1 will actually result in a slowdown for Teshari. - if(CE_SPEEDBOOST in chem_effects) - return -3 - var/health_deficiency = (maxHealth - health) if(health_deficiency >= 40) tally += (health_deficiency / 25) @@ -79,6 +76,11 @@ var/obj/item/pulled = pulling tally += max(pulled.slowdown, 0) + if(CE_SPEEDBOOST in chem_effects) + if (tally >= 0) // cut any penalties in half + tally = tally/2 + tally -= 1 // give 'em a buff on top. + return (tally+config.human_delay) /mob/living/carbon/human/Process_Spacemove(var/check_drift = 0)