From 3e588052ff26e3bd4162144f40539d696cd61394 Mon Sep 17 00:00:00 2001 From: Arturlang <24881678+Arturlang@users.noreply.github.com> Date: Tue, 27 Jan 2026 23:05:40 +0200 Subject: [PATCH] fix fortitude giving you permanent stun immunity (#5158) ## About The Pull Request fix fortitude giving you permanent stun immunity ## Why It's Good For The Game permanent stun immunity is not intentional ## Proof Of Testing
Screenshots/Videos
## Changelog :cl: fix: fortitude no longer gives you permanent stun immunity /:cl: --- .../antagonists/bloodsucker/powers/fortitude.dm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modular_zubbers/code/modules/antagonists/bloodsucker/powers/fortitude.dm b/modular_zubbers/code/modules/antagonists/bloodsucker/powers/fortitude.dm index a056482d1da..a306c7d113a 100644 --- a/modular_zubbers/code/modules/antagonists/bloodsucker/powers/fortitude.dm +++ b/modular_zubbers/code/modules/antagonists/bloodsucker/powers/fortitude.dm @@ -20,16 +20,20 @@ . += "You will additionally gain resistance to both brute, burn and stamina damage, scaling with level." . += "Fortitude will make you receive [GetFortitudeResist() * 10]% less brute and and stamina and [GetBurnResist() * 10]% less burn damage." . += "While using Fortitude, attempting to run will crush you." - . += "At level [FORTITUDE_STUN_IMMUNITY_LEVEL], you gain complete stun immunity." + . += "At level [FORTITUDE_STUN_IMMUNITY_LEVEL], you gain complete stun immunity while [src] is active." . += "Higher levels will increase Brute and Stamina resistance." +/datum/action/cooldown/bloodsucker/fortitude/upgrade_power() + . = ..() + if(level_current >= FORTITUDE_STUN_IMMUNITY_LEVEL) + traits_to_add |= TRAIT_STUNIMMUNE + /datum/action/cooldown/bloodsucker/fortitude/ActivatePower(atom/target) owner.balloon_alert(owner, "fortitude turned on.") to_chat(owner, span_notice("Your flesh, skin, and muscles become as steel.")) // Traits & Effects owner.add_traits(traits_to_add, BLOODSUCKER_TRAIT) - if(level_current >= FORTITUDE_STUN_IMMUNITY_LEVEL) - ADD_TRAIT(owner, TRAIT_STUNIMMUNE, BLOODSUCKER_TRAIT) + var/mob/living/carbon/human/bloodsucker_user = owner if(IS_BLOODSUCKER(owner) || IS_GHOUL(owner)) fortitude_resist = GetFortitudeResist()