mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
fix: Made bots roll in a more reasonable time on group loots. (#1857)
# Description This PR changes the way loot rolls are being evaluated. It puts a maximum priority on the loot action so it does not hang for so long.
This commit is contained in:
@@ -1384,9 +1384,6 @@ void PlayerbotAI::DoNextAction(bool min)
|
||||
else if (bot->isAFK())
|
||||
bot->ToggleAFK();
|
||||
|
||||
Group* group = bot->GetGroup();
|
||||
PlayerbotAI* masterBotAI = nullptr;
|
||||
|
||||
if (master && master->IsInWorld())
|
||||
{
|
||||
float distance = sServerFacade->GetDistance2d(bot, master);
|
||||
|
||||
Reference in New Issue
Block a user