Config option to set max number of guild members in random bot guilds

This commit is contained in:
Iain Donnelly
2025-09-28 14:04:09 +01:00
parent b0f3de65f5
commit 6f79193d7a
4 changed files with 6 additions and 2 deletions

View File

@@ -3992,7 +3992,7 @@ void PlayerbotFactory::InitGuild()
return;
}
if (guild->GetMemberSize() < urand(10, 15))
if (guild->GetMemberSize() < urand(10, sPlayerbotAIConfig->randomBotGuildSizeMax))
guild->AddMember(bot->GetGUID(), urand(GR_OFFICER, GR_INITIATE));
// add guild tabard