Core/AI: EscortAI init logic moved from JustAppeared to InitializeAI. There are no escort NPCs using compatibility mode anymore, so this is equivalent.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4cc76063f5c19773e25eaac9bd3975828c4cc47)
This commit is contained in:
@@ -125,7 +125,7 @@ namespace Game.AI
|
||||
}
|
||||
}
|
||||
|
||||
public override void JustAppeared()
|
||||
public override void InitializeAI()
|
||||
{
|
||||
_escortState = EscortState.None;
|
||||
|
||||
@@ -137,8 +137,6 @@ namespace Game.AI
|
||||
|
||||
if (me.GetFaction() != me.GetCreatureTemplate().Faction)
|
||||
me.RestoreFaction();
|
||||
|
||||
Reset();
|
||||
}
|
||||
|
||||
void ReturnToLastPoint()
|
||||
|
||||
Reference in New Issue
Block a user