mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Core/Auras: Implemented using all aura interrupt flag fields
This commit is contained in:
@@ -4938,7 +4938,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||
// skip stuck spell to allow use it in falling case and apply spell limitations at movement
|
||||
SpellEffectInfo const* effect = GetEffect(EFFECT_0);
|
||||
if ((!m_caster->HasUnitMovementFlag(MOVEMENTFLAG_FALLING_FAR) || (effect && effect->Effect != SPELL_EFFECT_STUCK)) &&
|
||||
(IsAutoRepeat() || (m_spellInfo->AuraInterruptFlags & AURA_INTERRUPT_FLAG_NOT_SEATED) != 0))
|
||||
(IsAutoRepeat() || m_spellInfo->HasAuraInterruptFlag(AURA_INTERRUPT_FLAG_NOT_SEATED)))
|
||||
return SPELL_FAILED_MOVING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user