Fix fluctuating xp curve (#743)

Was scaling with square of level, not cube.
pull/746/head
Xavion3 2024-05-12 01:25:48 +10:00 committed by GitHub
parent ea459826d0
commit 03d68f877a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export function getLevelTotalExp(level: integer, growthRate: GrowthRate): intege
ret = Math.pow(level, 3) * 5 / 4; ret = Math.pow(level, 3) * 5 / 4;
break; break;
case GrowthRate.FLUCTUATING: case GrowthRate.FLUCTUATING:
ret = (Math.pow(level, 3) + ((level / 2) + 32)) * 4 / (100 + level); ret = (Math.pow(level, 3) * ((level / 2) + 32)) * 4 / (100 + level);
break; break;
} }