[Commands] Cleanup #wpinfo Command. (#1866)

- Cleanup message and logic.
- Only display grid/waypoints if NPC has a grid.
This commit is contained in:
Kinglykrab
2021-12-04 21:53:29 -05:00
committed by GitHub
parent aa4536e1ef
commit 8ec4afe721
6 changed files with 78 additions and 37 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ public:
void StartSwarmTimer(uint32 duration);
void DoClassAttacks(Lua_Mob target);
int GetMaxWp();
void DisplayWaypointInfo(Lua_Client to);
void DisplayWaypointInfo(Lua_Client client);
void CalculateNewWaypoint();
void AssignWaypoints(int grid);
void SetWaypointPause();