Make backwards movement for flee

This commit is contained in:
Yunfan Li
2024-12-29 23:21:03 +08:00
parent adc0d6e72c
commit 79a5fdd7c1
5 changed files with 52 additions and 19 deletions

View File

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