From 21e673bd6b37c80c6b6fd741aebd841b47b75203 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 8 Oct 2018 21:26:13 +0200 Subject: [PATCH] Core/Spells: apply tree form requirement to another Tree of Life passive --- src/server/game/Spells/SpellMgr.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index cdfe08bbd6..3b5984341b 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3184,6 +3184,16 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->Stances = UI64LIT(1) << (FORM_BEAR - 1); }); + // Tree of Life passives + + ApplySpellFix({ + 5420, + 81097 + }, [](SpellInfo* spellInfo) + { + spellInfo->Stances = 1 << (FORM_TREE - 1); + }); + // Elemental Oath ApplySpellFix({ 51466, // (Rank 1) @@ -4650,12 +4660,6 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_CAST | AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_JUMP; }); - // Tree of Life (Passive) - ApplySpellFix({ 5420 }, [](SpellInfo* spellInfo) - { - spellInfo->Stances = UI64LIT(1) << (FORM_TREE - 1); - }); - // Feral Charge (Cat Form ApplySpellFix({ 49376 }, [](SpellInfo* spellInfo) {