[Bots] Allow melee to sit to med/heal when out of combat (#5036)
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled

This commit is contained in:
nytmyr 2025-12-14 01:29:06 -06:00 committed by GitHub
parent 0bc0ee609a
commit 6c057308da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2601,6 +2601,8 @@ void Bot::DoOutOfCombatChecks(Client* bot_owner, Mob* follow_mob, float leash_di
if (GetClass() == Class::Bard && AI_HasSpells() && TryBardMovementCasts()) {
return;
}
TryMeditate();
}
// This is as close as I could get without modifying the aggro mechanics and making it an expensive process...