Core/Movement: waypoint movement

Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
This commit is contained in:
hondacrx
2020-08-24 17:02:02 -04:00
parent c9e535bb3a
commit 3d3fd0f55f
31 changed files with 960 additions and 950 deletions
+2 -2
View File
@@ -289,13 +289,13 @@ namespace Scripts.Outlands
{
public npc_kayra_longmane() : base("npc_kayra_longmane") { }
class npc_kayra_longmaneAI : NpcEscortAI
class npc_kayra_longmaneAI : EscortAI
{
public npc_kayra_longmaneAI(Creature creature) : base(creature) { }
public override void Reset() { }
public override void WaypointReached(uint waypointId)
public override void WaypointReached(uint waypointId, uint pathId)
{
Player player = GetPlayerForEscort();
if (!player)