From 1406cf7781cbf00bcec7ef33357ff508cfac7b1c Mon Sep 17 00:00:00 2001 From: Gautam Anand Date: Fri, 22 Dec 2023 17:35:41 -0600 Subject: [PATCH] Logic change migrate --- scripts/dbmigrator/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dbmigrator/index.js b/scripts/dbmigrator/index.js index 5e9860b1..a2cedc65 100644 --- a/scripts/dbmigrator/index.js +++ b/scripts/dbmigrator/index.js @@ -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); }