Scripts/Spells: Removed facing requirements from penance healing component

Port From (https://github.com/TrinityCore/TrinityCore/commit/38ad6c2cf043c640c798a1467b8ad71265fd9c6c)
This commit is contained in:
hondacrx
2021-04-14 10:20:09 -04:00
parent f197464674
commit 2e34fa7f67
2 changed files with 1 additions and 9 deletions
+1
View File
@@ -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;
} }
-9
View File
@@ -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;
} }