fix(Core/Spells): Windfury, Flametongue, Healing Stream, Cleansing … (#11761)

...and Mana Tide totems should be affected by shaman T1 3p bonus.
This commit is contained in:
UltraNix
2022-05-18 10:08:57 +02:00
committed by GitHub
parent 3c9b56438e
commit 8c058791ed

View File

@@ -916,6 +916,7 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->SpellLevel = 0;
spellInfo->BaseLevel = 0;
spellInfo->DmgClass = SPELL_DAMAGE_CLASS_MAGIC;
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(5); // 40yd
});
// Earth Shield
@@ -4270,6 +4271,19 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(21);
});
// Mana Tide Totem
// Cleansing Totem Effect
ApplySpellFix({ 39609, 52025 }, [](SpellInfo* spellInfo)
{
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(5); // 40yd
});
// Increased Totem Radius
ApplySpellFix({ 21895 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[0].SpellClassMask = flag96(0x0603E000, 0x00200100);
});
// Jokkum Summon
ApplySpellFix({ 56541 }, [](SpellInfo* spellInfo)
{