Core/Movement: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
This commit is contained in:
@@ -1379,7 +1379,7 @@ namespace Scripts.EasternKingdoms.Karazhan.OperaEvent
|
||||
{
|
||||
public npc_barnes() : base("npc_barnes") { }
|
||||
|
||||
class npc_barnesAI : NpcEscortAI
|
||||
class npc_barnesAI : EscortAI
|
||||
{
|
||||
public npc_barnesAI(Creature creature) : base(creature)
|
||||
{
|
||||
@@ -1418,7 +1418,7 @@ namespace Scripts.EasternKingdoms.Karazhan.OperaEvent
|
||||
|
||||
public override void EnterCombat(Unit who) { }
|
||||
|
||||
public override void WaypointReached(uint waypointId)
|
||||
public override void WaypointReached(uint waypointId, uint pathId)
|
||||
{
|
||||
switch (waypointId)
|
||||
{
|
||||
|
||||
@@ -947,7 +947,7 @@ namespace Scripts.EasternKingdoms
|
||||
}
|
||||
|
||||
[Script]
|
||||
class npc_scarlet_miner : NpcEscortAI
|
||||
class npc_scarlet_miner : EscortAI
|
||||
{
|
||||
public npc_scarlet_miner(Creature creature) : base(creature)
|
||||
{
|
||||
@@ -1012,7 +1012,7 @@ namespace Scripts.EasternKingdoms
|
||||
SetDespawnAtFar(false);
|
||||
}
|
||||
|
||||
public override void WaypointReached(uint waypointId)
|
||||
public override void WaypointReached(uint waypointId, uint pathId)
|
||||
{
|
||||
switch (waypointId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user