mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Less often guild group invites
This commit is contained in:
parent
5c8100914e
commit
fe711731be
@ -149,10 +149,10 @@ bool InviteGuildToGroupAction::Execute(Event event)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player->getLevel() + 2 < bot->getLevel())
|
||||
if (abs(int32(player->getLevel() - bot->getLevel())) > 4)
|
||||
continue;
|
||||
|
||||
if (player->getLevel() > bot->getLevel() + 20)
|
||||
if (!botAI && sServerFacade->GetDistance2d(bot, player) > sPlayerbotAIConfig->sightDistance)
|
||||
continue;
|
||||
|
||||
return Invite(player);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user