mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
[11540] Fixed spell 59752 and some other impossibility cast in stun like states.
Original patch provided by darkstalker.
This commit is contained in:
parent
5cae1c2211
commit
2b79599986
4 changed files with 18 additions and 8 deletions
|
|
@ -5709,8 +5709,9 @@ SpellCastResult Spell::CheckCasterAuras() const
|
|||
else if (m_spellInfo->EffectApplyAuraName[i] == SPELL_AURA_DISPEL_IMMUNITY)
|
||||
dispel_immune |= GetDispellMask(DispelType(m_spellInfo->EffectMiscValue[i]));
|
||||
}
|
||||
// immune movement impairment and loss of control
|
||||
if (m_spellInfo->Id == 42292) // PvP Trinket
|
||||
|
||||
// immune movement impairment and loss of control (spell data have special structure for mark this case)
|
||||
if (IsSpellRemoveAllMovementAndControlLossEffects(m_spellInfo))
|
||||
mechanic_immune = IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue