Core/SAI: Remove deprecated events and actions
Port From (https://github.com/TrinityCore/TrinityCore/commit/e27724b3620ce245c8055d1cfa58b7caade7fb64)
This commit is contained in:
@@ -401,11 +401,6 @@ namespace Game.AI
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void WaypointStarted(uint nodeId, uint pathId)
|
||||
{
|
||||
GetScript().ProcessEventsFor(SmartEvents.WaypointStart, null, nodeId, pathId);
|
||||
}
|
||||
|
||||
public override void WaypointReached(uint nodeId, uint pathId)
|
||||
{
|
||||
if (!HasEscortState(SmartEscortState.Escorting))
|
||||
@@ -801,16 +796,6 @@ namespace Game.AI
|
||||
me.SetDisableGravity(disable);
|
||||
}
|
||||
|
||||
public void SetCanFly(bool fly = true)
|
||||
{
|
||||
me.SetCanFly(fly);
|
||||
}
|
||||
|
||||
public void SetSwim(bool swim)
|
||||
{
|
||||
me.SetSwim(swim);
|
||||
}
|
||||
|
||||
public void SetEvadeDisabled(bool disable)
|
||||
{
|
||||
_evadeDisabled = disable;
|
||||
|
||||
Reference in New Issue
Block a user