Skip to content

Commit

Permalink
Logic change migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Dec 22, 2023
1 parent ba1b1c5 commit 1406cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dbmigrator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function calculateGemsXP(stats, coinsDiff) {
use logaithms after 10k gems, way too much
*/
let gems = Math.floor((totaledCoins + coinsDiff) / 50 / 5);
let gems = Math.floor((totaledCoins + coinsDiff) / 50 / 3);
if(gems > 10000) {
gems = Math.floor(10000 + Math.log10(gems - 10000) * 3000);
}
Expand Down

0 comments on commit 1406cf7

Please sign in to comment.