Fix melee reach target

This commit is contained in:
Yunfan Li
2024-02-09 20:31:34 +08:00
parent 27569f431f
commit 5e39f3c732
6 changed files with 46 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ class MovementAction : public Action
bool Follow(Unit* target, float distance = sPlayerbotAIConfig->followDistance);
bool Follow(Unit* target, float distance, float angle);
bool ChaseTo(WorldObject* obj, float distance = 0.0f, float angle = 0.0f);
bool ReachCombatTo(Unit* target, float distance = 0.0f);
float MoveDelay(float distance);
void WaitForReach(float distance);
bool IsMovingAllowed(Unit* target);