grind, teleport, move random for rndbot

This commit is contained in:
Yunfan Li
2023-07-31 12:49:27 +08:00
parent 366867d773
commit 0cd1fa4db3
12 changed files with 145 additions and 99 deletions

View File

@@ -1399,7 +1399,7 @@ bool MoveRandomAction::Execute(Event event)
bool MoveRandomAction::isUseful()
{
return !botAI->HasRealPlayerMaster() && botAI->GetAiObjectContext()->GetValue<GuidVector>("nearest friendly players")->Get().size() > urand(25, 100);
return !botAI->HasRealPlayerMaster();
}
bool MoveInsideAction::Execute(Event event)