Scripts/Spells: Removed facing requirements from penance healing component
Port From (https://github.com/TrinityCore/TrinityCore/commit/38ad6c2cf043c640c798a1467b8ad71265fd9c6c)
This commit is contained in:
@@ -1585,6 +1585,7 @@ namespace Game.Spells
|
|||||||
case 183435: // Retribution Aura
|
case 183435: // Retribution Aura
|
||||||
case 317920: // Concentration Aura
|
case 317920: // Concentration Aura
|
||||||
_spellSpecific = SpellSpecificType.Aura;
|
_spellSpecific = SpellSpecificType.Aura;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -394,15 +394,6 @@ namespace Scripts.Spells.Priest
|
|||||||
if (!caster.IsInFront(target))
|
if (!caster.IsInFront(target))
|
||||||
return SpellCastResult.NotInfront;
|
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;
|
return SpellCastResult.SpellCastOk;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user