Skip to content

Commit

Permalink
fix(Core/Spells): Power of the Guardian should persist through death (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Aug 21, 2024
1 parent 0f80a41 commit ef4e0c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/game/Spells/SpellInfoCorrections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit ef4e0c0

Please sign in to comment.