Core/Misc: Rename Unit::AttackedTarget to Unit::AtTargetAttacked to match naming scheme for these notifiers

Port From (https://github.com/TrinityCore/TrinityCore/commit/dabdad3b47d7438327d3ee861eddd68e9bea68b1)
This commit is contained in:
hondacrx
2021-12-23 20:02:14 -05:00
parent 8694a2ae24
commit 749b77d060
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8039,7 +8039,7 @@ namespace Game.Spells
{
Unit unitCaster = spell.GetCaster().ToUnit();
if (unitCaster != null)
unitCaster.AttackedTarget(unit, spell.m_spellInfo.HasInitialAggro());
unitCaster.AtTargetAttacked(unit, spell.m_spellInfo.HasInitialAggro());
if (!unit.IsStandState())
unit.SetStandState(UnitStandStateType.Stand);