From e2bbb95a9623be73d1344084ed2af6531d4ea56a Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 18 Feb 2022 13:13:52 -0500 Subject: [PATCH] Core/Spells: Fixed Ice Block / Divine Shield cast in Cyclone Port From (https://github.com/TrinityCore/TrinityCore/commit/97ed31fe76e4e240354b1ff1af4405af487dee3b) --- Source/Game/Spells/Spell.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index a17837c95..3f288aed1 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -5673,6 +5673,8 @@ namespace Game.Spells } else if (!CheckSpellCancelsStun(ref param1)) result = SpellCastResult.Stunned; + else if ((m_spellInfo.Mechanic & Mechanics.ImmuneShield) != 0 && m_caster.IsUnit() && m_caster.ToUnit().HasAuraWithMechanic(1 << (int)Mechanics.Banish)) + result = SpellCastResult.Stunned; } else if (unitflag.HasAnyFlag(UnitFlags.Silenced) && m_spellInfo.PreventionType.HasAnyFlag(SpellPreventionType.Silence) && !CheckSpellCancelsSilence(ref param1)) result = SpellCastResult.Silenced;