fix(Core/Spell): warrior stances proccing darkmoon card vengeance damage (#19796)

add spellinfocorrection
This commit is contained in:
Jelle Meeus
2024-09-02 01:58:03 +02:00
committed by GitHub
parent 62b825f8bd
commit e1abc72a25

View File

@@ -4812,6 +4812,16 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD; 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) for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{ {
SpellInfo* spellInfo = mSpellInfoMap[i]; SpellInfo* spellInfo = mSpellInfoMap[i];