Ported cmangos of allowAcitity and prority, removed autoscaled based on latency

This commit is contained in:
bash
2024-10-07 20:57:19 +00:00
parent 2695b3378e
commit e8c8401b4a
6 changed files with 209 additions and 91 deletions

View File

@@ -1108,6 +1108,9 @@ bool RandomPlayerbotMgr::ProcessBot(uint32 bot)
bool RandomPlayerbotMgr::ProcessBot(Player* player)
{
if (!player || !player->IsInWorld() || player->IsBeingTeleported() || player->GetSession()->isLogingOut())
return false;
uint32 bot = player->GetGUID().GetCounter();
if (player->InBattleground())