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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user