fix(Core/Spells): 'Black Qiraji Battle Tank' being removed on map change/teleport (#20455)

fix(Core/Spells): Black Qiraji Battle Tank being removed on map change/teleport
This commit is contained in:
avarishd 2024-11-06 06:26:40 +02:00 committed by GitHub
parent 81e2ae7adb
commit fa4dc2cd47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4856,6 +4856,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPPRESS_CASTER_PROCS;
});
// Black Qiraji Battle Tank
ApplySpellFix({ 26655, 26656 }, [](SpellInfo* spellInfo)
{
spellInfo->AuraInterruptFlags &= ~(AURA_INTERRUPT_FLAG_CHANGE_MAP | AURA_INTERRUPT_FLAG_TELEPORTED);
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];