move random for rpg

This commit is contained in:
Yunfan Li
2023-10-28 22:21:51 +08:00
parent a28d096bef
commit d48670b545
2 changed files with 2 additions and 2 deletions

View File

@@ -1491,7 +1491,7 @@ bool MoveRandomAction::Execute(Event event)
bool MoveRandomAction::isUseful()
{
return !botAI->HasRealPlayerMaster();
return !AI_VALUE(GuidPosition, "rpg target") && !botAI->HasRealPlayerMaster();
}
bool MoveInsideAction::Execute(Event event)