pathing: align parkour contracts with live budgets

This commit is contained in:
BruceChen 2026-04-15 17:36:20 +00:00
parent ce555da95e
commit cf8bf349db
16 changed files with 3190 additions and 318 deletions

View file

@ -15,7 +15,10 @@ internal static class ParkourFeasibility
int yDelta)
{
double horiz = Math.Sqrt(xOffset * xOffset + zOffset * zOffset);
double threshold = yDelta > 0 ? 2.5 : 3.5;
if (yDelta <= 0)
return true;
double threshold = 2.5;
if (horiz < threshold)
return true;