Compare commits

..

1 Commits

Author SHA1 Message Date
bash
5af1bf9a88 ForgeOfSoulsTriggers.cpp added null check 2024-11-18 22:04:44 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -424,7 +424,7 @@ AiPlayerbot.AutoGearCommand = 1
# default: 3 (rare)
AiPlayerbot.AutoGearQualityLimit = 3
# Equips item level (not gearScore) limitation for auto gear command (0 = no limit)
# Equips gear score limitation for auto gear command (0 = no limit)
# default: 0 (no limit)
AiPlayerbot.AutoGearScoreLimit = 0

View File

@@ -323,7 +323,7 @@ void RandomPlayerbotMgr::UpdateAIInternal(uint32 elapsed, bool /*minimal*/)
// which prevents unneeded expensive GameTime calls.
if (_isBotInitializing)
{
_isBotInitializing = GameTime::GetUptime().count() < sPlayerbotAIConfig->maxRandomBots * 0.15;
_isBotInitializing = GameTime::GetUptime().count() < sPlayerbotAIConfig->maxRandomBots * 0.13;
}
uint32 updateIntervalTurboBoost = _isBotInitializing ? 1 : sPlayerbotAIConfig->randomBotUpdateInterval;