From e1abc72a259f911a1c0acee37032340d62a6dc2b Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Mon, 2 Sep 2024 01:58:03 +0200 Subject: [PATCH] fix(Core/Spell): warrior stances proccing darkmoon card vengeance damage (#19796) add spellinfocorrection --- src/server/game/Spells/SpellInfoCorrections.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/server/game/Spells/SpellInfoCorrections.cpp b/src/server/game/Spells/SpellInfoCorrections.cpp index 46f31c6f4..0e3c9833a 100644 --- a/src/server/game/Spells/SpellInfoCorrections.cpp +++ b/src/server/game/Spells/SpellInfoCorrections.cpp @@ -4812,6 +4812,16 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->AttributesEx3 |= SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD; }); + // Warrior stances passives + ApplySpellFix({ + 2457, // Battle Stance + 2458, // Berserker Stance + 7376 // Defensive Stance Passive + }, [](SpellInfo* spellInfo) + { + spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_CASTER_PROCS; + }); + for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i) { SpellInfo* spellInfo = mSpellInfoMap[i];