Fix summary next level EXP showing incorrectly

This commit is contained in:
Flashfyre committed 2023-04-28 19:56:11 -04:00
1 parent 2b95d4ce51
commit 16fbe971f6
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ const expLevels = [
];
export function getLevelTotalExp(level: integer, growthRate: integer) {
return expLevels[growthRate][level - 1];
return expLevels[growthRate][Math.min(level, 100) - 1];
};
export function getLevelRelExp(level: integer, growthRate: integer) {