Chat tweak, guild bots management tooggle

This commit is contained in:
Atidot3
2024-08-04 10:14:07 +02:00
parent 6e41c87e93
commit 7227211ddf
8 changed files with 127 additions and 39 deletions

View File

@@ -42,7 +42,7 @@ SuggestWhatToDoAction::SuggestWhatToDoAction(PlayerbotAI* botAI, std::string con
bool SuggestWhatToDoAction::isUseful()
{
if (!sRandomPlayerbotMgr->IsRandomBot(bot) || bot->GetGroup() || bot->GetInstanceId())
if (!sRandomPlayerbotMgr->IsRandomBot(bot) || bot->GetGroup() || bot->GetInstanceId() || bot->GetBattleground())
return false;
std::string qualifier = "suggest what to do";