diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-12-17 16:45:50 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-12-17 16:45:50 +0100 |
commit | e86a2c439aa2a032ce338d974dae1e5311bcb18f (patch) | |
tree | f48cc15721978fdd2722f266a5884e0c0202e657 /src/server/game/Spells/SpellMgr.cpp | |
parent | e573607ccd01e3e4ae2142f8ef56cce66b173b8a (diff) |
Core/Auras: Implemented using all aura interrupt flag fields
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index ef9d7e6862e..302416e4885 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -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 |