mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
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:
@@ -4323,6 +4323,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
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)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
||||
Reference in New Issue
Block a user