mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Increase delays for non active bots
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user