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:
@@ -4632,6 +4632,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->AttributesEx5 |= SPELL_ATTR5_DO_NOT_DISPLAY_DURATION;
|
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)
|
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||||
{
|
{
|
||||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user