fix(Core/Spells): interrupt midsummer ribbonpole dance on mount or sp… (#17442)

fix(Core/Spells): interrupt midsummer ribbonpole dance on mount or spell cast
This commit is contained in:
Ludwig
2023-10-20 02:40:08 +02:00
committed by GitHub
parent 1b2593d763
commit de6ece2462

View File

@@ -4578,6 +4578,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->ChannelInterruptFlags |= AURA_INTERRUPT_FLAG_MOVE;
});
// Holiday - Midsummer, Ribbon Pole Periodic Visual
ApplySpellFix({ 45406 }, [](SpellInfo* spellInfo)
{
spellInfo->AuraInterruptFlags |= ( AURA_INTERRUPT_FLAG_MOUNT | AURA_INTERRUPT_FLAG_CAST );
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];