XP system

This commit is contained in:
2025-02-02 21:47:45 -08:00
parent 783dcd0ca3
commit c23a7b6d75
9 changed files with 75 additions and 10 deletions

View File

@ -53,7 +53,6 @@ function geomInterpolate(
if (x >= highIn) { return lowOut; }
const proportion = 1.0 - (x - lowIn) / (highIn - lowIn);
console.log(`proportion: ${x} ${proportion}`)
return lowOut * Math.pow(highOut / lowOut, proportion)
}