Core/Movement: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Scripts.Northrend.CrusadersColiseum.TrialOfTheChampion
|
||||
}
|
||||
|
||||
[Script]
|
||||
class generic_vehicleAI_toc5 : NpcEscortAI
|
||||
class generic_vehicleAI_toc5 : EscortAI
|
||||
{
|
||||
public generic_vehicleAI_toc5(Creature creature) : base(creature)
|
||||
{
|
||||
@@ -124,7 +124,7 @@ namespace Scripts.Northrend.CrusadersColiseum.TrialOfTheChampion
|
||||
Start(false, true);
|
||||
}
|
||||
|
||||
public override void WaypointReached(uint waypointId)
|
||||
public override void WaypointReached(uint waypointId, uint pathId)
|
||||
{
|
||||
switch (waypointId)
|
||||
{
|
||||
|
||||
@@ -666,7 +666,7 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
}
|
||||
|
||||
[Script]
|
||||
class npc_crok_scourgebane : NpcEscortAI
|
||||
class npc_crok_scourgebane : EscortAI
|
||||
{
|
||||
public npc_crok_scourgebane(Creature creature) : base(creature)
|
||||
{
|
||||
@@ -748,7 +748,7 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
}
|
||||
}
|
||||
|
||||
public override void WaypointReached(uint waypointId)
|
||||
public override void WaypointReached(uint waypointId, uint pathId)
|
||||
{
|
||||
switch (waypointId)
|
||||
{
|
||||
@@ -780,7 +780,7 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
}
|
||||
}
|
||||
|
||||
public override void WaypointStart(uint waypointId)
|
||||
public override void WaypointStarted(uint waypointId, uint pathId)
|
||||
{
|
||||
_currentWPid = waypointId;
|
||||
switch (waypointId)
|
||||
|
||||
@@ -867,7 +867,7 @@ namespace Scripts.Northrend.Ulduar.FlameLeviathan
|
||||
}
|
||||
|
||||
[Script]
|
||||
class npc_mimirons_inferno : NpcEscortAI
|
||||
class npc_mimirons_inferno : EscortAI
|
||||
{
|
||||
public npc_mimirons_inferno(Creature creature)
|
||||
: base(creature)
|
||||
@@ -877,10 +877,7 @@ namespace Scripts.Northrend.Ulduar.FlameLeviathan
|
||||
me.SetReactState(ReactStates.Passive);
|
||||
}
|
||||
|
||||
public override void WaypointReached(uint waypointId)
|
||||
{
|
||||
|
||||
}
|
||||
public override void WaypointReached(uint waypointId, uint pathId) { }
|
||||
|
||||
public override void Reset()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user