We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599beb8 commit a76a55aCopy full SHA for a76a55a
src/store/index.ts
@@ -595,7 +595,7 @@ export default createStore({
595
task.rank = rankLevel; //set task rank level
596
task.rankProgress =
597
((task.rankXp / 100 - Math.pow(task.rank === 1 ? 0 : task.rank, 4)) /
598
- (Math.pow(task.rank + 1, 3) -
+ (Math.pow(task.rank + 1, 4) -
599
Math.pow(task.rank === 1 ? 0 : task.rank, 4))) *
600
100; //calculate rank level progress and if level is 1 set rank level at the start of level 1 to 0 XP
601
const xpEarned: number = Math.max(
0 commit comments