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
+4 -4
View File
@@ -111,7 +111,7 @@ namespace Scripts.Kalimdor.ZoneAshenvale
[Script]
class npc_ruul_snowhoof : NpcEscortAI
class npc_ruul_snowhoof : EscortAI
{
public npc_ruul_snowhoof(Creature creature) : base(creature) { }
@@ -138,7 +138,7 @@ namespace Scripts.Kalimdor.ZoneAshenvale
}
}
public override void WaypointReached(uint waypointId)
public override void WaypointReached(uint waypointId, uint pathId)
{
Player player = GetPlayerForEscort();
if (!player)
@@ -170,7 +170,7 @@ namespace Scripts.Kalimdor.ZoneAshenvale
}
[Script]
public class npc_muglash : NpcEscortAI
public class npc_muglash : EscortAI
{
public npc_muglash(Creature creature) : base(creature)
{
@@ -228,7 +228,7 @@ namespace Scripts.Kalimdor.ZoneAshenvale
}
}
public override void WaypointReached(uint waypointId)
public override void WaypointReached(uint waypointId, uint pathId)
{
Player player = GetPlayerForEscort();
if (player)