diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-08-31 23:12:57 -0300 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-18 17:57:08 +0100 |
commit | c71a04d0f058c0a5b74859c96a5a8eb7ebfb77b0 (patch) | |
tree | 1d42d49e6b7d4e6811eccf9fea5c715873368b02 /src | |
parent | 7b3b333dd5b0bdb8a176d54571eb424ecec20bdc (diff) |
Core/Spells: fix Bullheaded immunities
Closes #421
(cherry picked from commit 11f6801a5c9c92775864545be7ace85ac1883686)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 1 | ||||
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index accf1fd95e3..7f04f8ad0a9 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -3332,6 +3332,7 @@ void AuraEffect::HandleModMechanicImmunity(AuraApplication const* aurApp, uint8 break; case 42292: // PvP trinket case 59752: // Every Man for Himself + case 53490: // Bullheaded mechanic = IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK; // Actually we should apply immunities here, too, but the aura has only 100 ms duration, so there is practically no point break; diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 8e8041360ac..4a1b1faebd3 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5738,7 +5738,7 @@ SpellCastResult Spell::CheckCasterAuras() const dispel_immune |= SpellInfo::GetDispelMask(DispelType(effect->MiscValue)); } // immune movement impairment and loss of control - if (m_spellInfo->Id == 42292 || m_spellInfo->Id == 59752 || m_spellInfo->Id == 19574) + if (m_spellInfo->Id == 42292 || m_spellInfo->Id == 59752 || m_spellInfo->Id == 19574 || m_spellInfo->Id == 53490) mechanic_immune = IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK; } |