From e8ce0330879adf9f68a23f99ac89a13de4a4f80d Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Mon, 23 Feb 2026 18:46:50 -0600 Subject: [PATCH] fix(Core/Spells): Prevent stealth from breaking on friendly proc spells (#24834) Co-authored-by: blinkysc Co-authored-by: ariel- --- src/server/game/Spells/Auras/SpellAuras.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index a6fa20e6c..d313b5ca1 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -2177,6 +2177,14 @@ uint8 Aura::GetProcEffectMask(AuraApplication* aurApp, ProcEventInfo& eventInfo, return 0; } + // Don't consume stealth charges from friendly spells + if (m_spellInfo->HasAura(SPELL_AURA_MOD_STEALTH)) + { + if (SpellInfo const* spellInfo = eventInfo.GetSpellInfo()) + if (spellInfo->IsPositive()) + return 0; + } + // check if we have charges to proc with if (IsUsingCharges() && !GetCharges()) return 0;