[Bots] Add IsInRaidOrGroup checks to ^attack and ^pull (#4654)

This commit is contained in:
nytmyr
2025-02-07 13:05:55 -06:00
committed by GitHub
parent ed7023f336
commit 41009aa19b
7 changed files with 47 additions and 42 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ void bot_command_pull(Client *c, const Seperator *sep)
Bot* bot_puller = nullptr;
for (auto bot_iter : sbl) {
if (bot_iter->GetAppearance() == eaDead || bot_iter->GetBotStance() == Stance::Passive) {
if (!bot_iter->ValidStateCheck(c)) {
continue;
}