New rpg bug fix that preventing bots from long distance movement

This commit is contained in:
Yunfan Li
2024-12-15 16:46:44 +08:00
parent 9b41798eee
commit a91aa3e392
3 changed files with 5 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ bool NewRpgStatusUpdateAction::Execute(Event event)
}
}
// IDLE -> GO_INNKEEPER
else if (bot->GetLevel() >= 6 && roll <= 45)
else if (bot->GetLevel() >= 6 && roll <= 40)
{
WorldPosition pos = SelectRandomInnKeeperPos();
if (pos != WorldPosition() && bot->GetExactDist(pos) > 50.0f)