[Bots] Add checks to ensure bots and pets do not engage on ^pull (#4708)

This commit is contained in:
nytmyr
2025-02-21 23:13:54 -06:00
committed by GitHub
parent 63b1e6b4b4
commit 8b8b41dab3
2 changed files with 93 additions and 68 deletions
+1
View File
@@ -1127,6 +1127,7 @@ public:
bool TryAutoDefend(Client* bot_owner, float leash_distance);
bool TryIdleChecks(float fm_distance);
bool TryNonCombatMovementChecks(Client* bot_owner, const Mob* follow_mob, glm::vec3& Goal);
void DoOutOfCombatChecks(Client* bot_owner, Mob* follow_mob, glm::vec3& Goal, float leash_distance, float fm_distance);
bool TryBardMovementCasts();
bool BotRangedAttack(Mob* other, bool can_double_attack = false);
bool CheckDoubleRangedAttack();