Core/Spells: correctly implement Elemental Oath

This commit is contained in:
Ovahlord committed 2022-02-21 11:17:41 +01:00
1 parent d712a12f1c
commit 6e412b16de
3 files changed
+27 -12

No files matched your search

-12
View File
@@ -3254,18 +3254,6 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Stances = UI64LIT(1) << (FORM_TREE - 1);
});
// Elemental Oath
ApplySpellFix({
51466, // (Rank 1)
51470 // (Rank 2)
}, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_1].Effect = SPELL_EFFECT_APPLY_AURA;
spellInfo->Effects[EFFECT_1].ApplyAuraName = SPELL_AURA_ADD_FLAT_MODIFIER;
spellInfo->Effects[EFFECT_1].MiscValue = SPELLMOD_EFFECT2;
spellInfo->Effects[EFFECT_1].SpellClassMask = flag96(0x00000000, 0x00004000, 0x00000000);
});
// Improved Shadowform (Rank 1)
ApplySpellFix({ 47569 }, [](SpellInfo* spellInfo)
{