From 4fc1d30dc454072e97f89c5b7e00c26f6efd2075 Mon Sep 17 00:00:00 2001 From: Keader Date: Sat, 18 Apr 2020 12:53:06 -0300 Subject: [PATCH] Core/Spells: Fixed Ice Block / Divine Shield cast in Cyclone (#24465) (cherry picked from commit c41ae890693676c25cf58f448da9a914fcb9aaf1) --- src/server/game/Spells/Spell.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 843505f907..13b4c7e5e9 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -6610,6 +6610,8 @@ SpellCastResult Spell::CheckCasterAuras(uint32* param1) const } else if (!CheckSpellCancelsStun(param1)) result = SPELL_FAILED_STUNNED; + else if ((m_spellInfo->Mechanic & MECHANIC_IMMUNE_SHIELD) && m_caster->ToUnit() && m_caster->ToUnit()->HasAuraWithMechanic(1 << MECHANIC_BANISH)) + result = SPELL_FAILED_STUNNED; } else if (unitflag & UNIT_FLAG_SILENCED && m_spellInfo->PreventionType == SPELL_PREVENTION_TYPE_SILENCE && !CheckSpellCancelsSilence(param1)) result = SPELL_FAILED_SILENCED;