From f01e62498dc28de7f20b4b5d31871bc40326a36f Mon Sep 17 00:00:00 2001 From: EnterTheJake <102721711+EnterTheJake@users.noreply.github.com> Date: Fri, 20 Jun 2025 19:25:40 +0200 Subject: [PATCH] Flying mobs no longer have 3x worse damage slowdown (#91710) ## About The Pull Request Removes a damage modifier introduced for a feature that's been long removed. ## Why It's Good For The Game Floating mobs are currently suffering a higher damange slowdown than walking, this was apparently changed in this PR https://github.com/tgstation/tgstation/pull/20860 This distinction was introduced to balance flight suits, a feature has long been removed, therefore we no longer need this modifier. ## Changelog :cl: del: Flying mobs no longer have 3x worse damage slowdown /:cl: --------- Co-authored-by: Xander3359 <66163761+Xander3359@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> --- code/modules/mob/living/carbon/human/human.dm | 2 -- code/modules/movespeed/modifiers/mobs.dm | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index e3ec95614d5..2a27ec4172f 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -967,10 +967,8 @@ var/health_deficiency = max((maxHealth - health), staminaloss) if(health_deficiency >= 40) add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/damage_slowdown, TRUE, multiplicative_slowdown = health_deficiency / 75) - add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/damage_slowdown_flying, TRUE, multiplicative_slowdown = health_deficiency / 25) else remove_movespeed_modifier(/datum/movespeed_modifier/damage_slowdown) - remove_movespeed_modifier(/datum/movespeed_modifier/damage_slowdown_flying) /mob/living/carbon/human/is_bleeding() if(HAS_TRAIT(src, TRAIT_NOBLOOD)) diff --git a/code/modules/movespeed/modifiers/mobs.dm b/code/modules/movespeed/modifiers/mobs.dm index fe1ad2027e1..abde74b60bb 100644 --- a/code/modules/movespeed/modifiers/mobs.dm +++ b/code/modules/movespeed/modifiers/mobs.dm @@ -28,11 +28,7 @@ variable = TRUE /datum/movespeed_modifier/damage_slowdown - blacklisted_movetypes = FLOATING|FLYING - variable = TRUE - -/datum/movespeed_modifier/damage_slowdown_flying - movetypes = FLYING + blacklisted_movetypes = FLOATING variable = TRUE /// Movespeed modifier applied by worn equipment.