Increase delays for non active bots

This commit is contained in:
郑佩茹
2022-09-22 15:55:08 -06:00
parent 544d10efa2
commit a89058e3d1

View File

@@ -52,8 +52,8 @@ void PlayerbotAIBase::YieldThread(bool delay)
if (nextAICheckDelay < sPlayerbotAIConfig->reactDelay)
nextAICheckDelay = sPlayerbotAIConfig->reactDelay;
if (delay && nextAICheckDelay <= sPlayerbotAIConfig->reactDelay * 5)
nextAICheckDelay = sPlayerbotAIConfig->reactDelay * 5;
if (delay && nextAICheckDelay <= sPlayerbotAIConfig->reactDelay * 10)
nextAICheckDelay = sPlayerbotAIConfig->reactDelay * 10;
}
bool PlayerbotAIBase::IsActive()