Core/Spell: add an exception for Cyclone ignoring it's own immunity using dispel type
This commit is contained in:
@@ -682,7 +682,7 @@ namespace Game.Spells
|
|||||||
if (auraSpellInfo == null ||
|
if (auraSpellInfo == null ||
|
||||||
(auraSpellInfo.Mechanic != Mechanics.ImmuneShield &&
|
(auraSpellInfo.Mechanic != Mechanics.ImmuneShield &&
|
||||||
auraSpellInfo.Mechanic != Mechanics.Invulnerability &&
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user