mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Update RandomPlayerbotMgr.cpp
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <ctime>
|
||||
#include <iomanip>
|
||||
#include <random>
|
||||
#include <climits>
|
||||
|
||||
#include "AccountMgr.h"
|
||||
#include "AiFactory.h"
|
||||
@@ -426,7 +427,7 @@ void RandomPlayerbotMgr::UpdateAIInternal(uint32 elapsed, bool /*minimal*/)
|
||||
{
|
||||
LOG_ERROR("playerbots", "No eligible bots found with level filter {}-{}. Change the level range.",
|
||||
sPlayerbotAIConfig->randomBotMinLoginLevel, sPlayerbotAIConfig->randomBotMaxLoginLevel);
|
||||
SetEventValue(0, "bot_count", 0, 999999999);
|
||||
SetEventValue(0, "bot_count", 0, INT_MAX);
|
||||
maxAllowedBotCount = 0;
|
||||
currentBots.clear();
|
||||
levelFilterAdjusted = true;
|
||||
|
||||
Reference in New Issue
Block a user