fix(Scripts/Spells): Fix Glyph of Voidwalker applying to every pet (#17342)

* fix(Scripts/Spells): Fix Glyph of Voidwalker applying to every pet

* Update src/server/game/Entities/Pet/Pet.cpp
This commit is contained in:
Skjalf
2023-09-25 08:07:09 -03:00
committed by GitHub
parent 4afc200f41
commit c7b7b7dc07
5 changed files with 53 additions and 8 deletions

View File

@@ -1028,14 +1028,6 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(6);
});
// Glyph of Voidwalker
ApplySpellFix({ 56247 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].ApplyAuraName = SPELL_AURA_ADD_FLAT_MODIFIER;
spellInfo->Effects[EFFECT_0].MiscValue = SPELLMOD_EFFECT1;
spellInfo->Effects[EFFECT_0].SpellClassMask = flag96(0x8000000, 0, 0);
});
// Everlasting Affliction
ApplySpellFix({ 47201, 47202, 47203, 47204, 47205 }, [](SpellInfo* spellInfo)
{