mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Increase delays for non active bots
This commit is contained in:
parent
544d10efa2
commit
a89058e3d1
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user