mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00: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