Misc fix
This commit is contained in:
@@ -521,8 +521,10 @@ namespace Scripts.Northrend.IcecrownCitadel
|
|||||||
if (target.HasAura(Spells.Impaled))
|
if (target.HasAura(Spells.Impaled))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (target.GetExactDist2d(GetOwner()) > GetSpellInfo().GetEffect(target.GetMap().GetDifficultyID(), 0).CalcRadius())
|
SpellEffectInfo effect = GetSpellInfo().GetEffect(target.GetMap().GetDifficultyID(), 0);
|
||||||
return false;
|
if (effect != null)
|
||||||
|
if (target.GetExactDist2d(GetOwner()) > effect.CalcRadius())
|
||||||
|
return false;
|
||||||
|
|
||||||
Aura aur = target.GetAura(GetId());
|
Aura aur = target.GetAura(GetId());
|
||||||
if (aur != null)
|
if (aur != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user