mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Core/Auras: Implemented using all aura interrupt flag fields
This commit is contained in:
@@ -2759,7 +2759,7 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
// Easter Lay Noblegarden Egg Aura - Interrupt flags copied from aura which this aura is linked with
|
||||
ApplySpellFix({ 61719 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->AuraInterruptFlags = AURA_INTERRUPT_FLAG_HITBYSPELL | AURA_INTERRUPT_FLAG_TAKE_DAMAGE;
|
||||
spellInfo->AuraInterruptFlags[0] = AURA_INTERRUPT_FLAG_HITBYSPELL | AURA_INTERRUPT_FLAG_TAKE_DAMAGE;
|
||||
});
|
||||
|
||||
ApplySpellFix({
|
||||
@@ -2924,7 +2924,7 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
ApplySpellFix({ 63414 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_0))->TargetB = SpellImplicitTargetInfo(TARGET_UNIT_CASTER);
|
||||
spellInfo->ChannelInterruptFlags = 0;
|
||||
spellInfo->ChannelInterruptFlags.fill(0);
|
||||
});
|
||||
|
||||
// Rocket Strike (Mimiron)
|
||||
@@ -3292,7 +3292,7 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
// Threatening Gaze
|
||||
ApplySpellFix({ 24314 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_CAST | AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_JUMP;
|
||||
spellInfo->AuraInterruptFlags[0] |= AURA_INTERRUPT_FLAG_CAST | AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_JUMP;
|
||||
});
|
||||
|
||||
// Tree of Life (Passive)
|
||||
@@ -3353,7 +3353,7 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
// Blaze of Glory
|
||||
ApplySpellFix({ 99252 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_CHANGE_MAP;
|
||||
spellInfo->AuraInterruptFlags[0] |= AURA_INTERRUPT_FLAG_CHANGE_MAP;
|
||||
});
|
||||
// ENDOF FIRELANDS SPELLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user