Scripts/Spells: Removed facing requirements from penance healing component
Port From (https://github.com/TrinityCore/TrinityCore/commit/38ad6c2cf043c640c798a1467b8ad71265fd9c6c)
This commit is contained in:
@@ -394,15 +394,6 @@ namespace Scripts.Spells.Priest
|
||||
if (!caster.IsInFront(target))
|
||||
return SpellCastResult.NotInfront;
|
||||
}
|
||||
else
|
||||
{
|
||||
//Support for modifications of this spell in Legion with The Penitent talent (7.1.5)
|
||||
if (!caster.HasAura(SpellIds.ThePenitentAura))
|
||||
return SpellCastResult.BadTargets;
|
||||
|
||||
if (!caster.IsInFront(target))
|
||||
return SpellCastResult.UnitNotInfront;
|
||||
}
|
||||
}
|
||||
return SpellCastResult.SpellCastOk;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user