fix(Core/Spells): Haunted should not be right-clickable (#17864)

fix(Core/Spells): Haunted

https://github.com/azerothcore/azerothcore-wotlk/issues/16248
This commit is contained in:
Kitzunu
2023-11-26 17:50:32 +01:00
committed by GitHub
parent 8b9d002e90
commit 911f07c906

View File

@@ -4632,6 +4632,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx5 |= SPELL_ATTR5_DO_NOT_DISPLAY_DURATION;
});
// Haunted
ApplySpellFix({ 53768 }, [](SpellInfo* spellInfo)
{
spellInfo->Attributes |= SPELL_ATTR0_NO_AURA_CANCEL;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];