mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
randombot refresh
This commit is contained in:
@@ -833,8 +833,8 @@ bool RandomPlayerbotMgr::ProcessBot(uint32 bot)
|
||||
}
|
||||
}
|
||||
|
||||
if (botAI->HasPlayerNearby(sPlayerbotAIConfig->grindDistance))
|
||||
update = false;
|
||||
// if (botAI->HasPlayerNearby(sPlayerbotAIConfig->grindDistance))
|
||||
// update = false;
|
||||
}
|
||||
|
||||
if (update)
|
||||
@@ -1428,8 +1428,8 @@ void RandomPlayerbotMgr::Refresh(Player* bot)
|
||||
botAI->ResetStrategies(false);
|
||||
}
|
||||
|
||||
if (sPlayerbotAIConfig->disableRandomLevels)
|
||||
return;
|
||||
// if (sPlayerbotAIConfig->disableRandomLevels)
|
||||
// return;
|
||||
|
||||
if (bot->InBattleground())
|
||||
return;
|
||||
@@ -1472,9 +1472,6 @@ bool RandomPlayerbotMgr::IsRandomBot(Player* bot)
|
||||
}
|
||||
if (bot)
|
||||
{
|
||||
if (sPlayerbotAIConfig->IsInRandomAccountList(bot->GetSession()->GetAccountId()))
|
||||
return true;
|
||||
|
||||
return IsRandomBot(bot->GetGUID().GetCounter());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user