From ab54543573c629af9127d75cdb30882d351e7a75 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 12 Mar 2018 14:47:43 -0400 Subject: [PATCH] Core/Spell: add an exception for Cyclone ignoring it's own immunity using dispel type --- Source/Game/Spells/SpellInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellInfo.cs b/Source/Game/Spells/SpellInfo.cs index c016e88c4..1c8b1574c 100644 --- a/Source/Game/Spells/SpellInfo.cs +++ b/Source/Game/Spells/SpellInfo.cs @@ -682,7 +682,7 @@ namespace Game.Spells if (auraSpellInfo == null || (auraSpellInfo.Mechanic != Mechanics.ImmuneShield && auraSpellInfo.Mechanic != Mechanics.Invulnerability && - (auraSpellInfo.Mechanic != Mechanics.Banish || IsRankOf(auraSpellInfo)))) // Banish shouldn't be immune to itself + (auraSpellInfo.Mechanic != Mechanics.Banish || (IsRankOf(auraSpellInfo) && auraSpellInfo.Dispel != DispelType.None)))) // Banish shouldn't be immune to itself, but Cyclone should return true; }