fix(Core/Spells): Power of the Guardian should persist through death (#19638)

This commit is contained in:
Andrew
2024-08-21 06:36:05 -03:00
committed by GitHub
parent 0f80a41cb6
commit ef4e0c0d4a

View File

@@ -4806,6 +4806,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].MiscValue = 124;
});
// Power of the Guardian
ApplySpellFix({ 28142, 28143, 28144, 28145 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];