movement for fly & swimming

This commit is contained in:
Yunfan Li
2023-09-17 23:52:06 +08:00
parent 022c7c7796
commit e896168769
3 changed files with 8 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ class MovementAction : public Action
bool MoveInside(uint32 mapId, float x, float y, float z, float distance = sPlayerbotAIConfig->followDistance);
void CreateWp(Player* wpOwner, float x, float y, float z, float o, uint32 entry, bool important = false);
private:
float SearchBestGroundZForPath(float x, float y, float z, float range = 10.0f);
float SearchBestGroundZForPath(float x, float y, float z, bool generatePath, float range = 10.0f);
};
class FleeAction : public MovementAction