fix(Core/Spells): Elemental Mastery should only affect Lightning Bolt… (#12499)
* fix(Core/Spells): Elemental Mastery should only affect Lightning Bolt, Chain Lightning and Lava Burst. Fixes #10903 * Update.
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
--
|
||||||
|
UPDATE `spell_proc_event` SET `SpellFamilyName`=11, `SpellFamilyMask0`=0x00000003, `SpellFamilyMask1`=0x00001000 WHERE `entry`=16166;
|
||||||
@@ -4323,6 +4323,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->Effects[EFFECT_0].MiscValue = 8;
|
spellInfo->Effects[EFFECT_0].MiscValue = 8;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Elemental Mastery
|
||||||
|
ApplySpellFix({ 16166 }, [](SpellInfo* spellInfo)
|
||||||
|
{
|
||||||
|
spellInfo->Effects[EFFECT_0].SpellClassMask = flag96(0x00000003, 0x00001000);
|
||||||
|
});
|
||||||
|
|
||||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||||
{
|
{
|
||||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user