From 5cd39f1f18318ea41915bc19322ce9b357672b8a Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Tue, 2 Oct 2018 12:53:48 -0700 Subject: [PATCH] Use same exponential XP curve as pq.exe --- config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 44cd440..5321b0c 100644 --- a/config.js +++ b/config.js @@ -302,8 +302,9 @@ Number.prototype.div = function (divisor) { function LevelUpTime(level) { // seconds - // 20 minutes per level - return 20 * level * 60; + // 20 minutes for for level 1 + // exponential increase after that + return Math.round((20 + Math.pow(1.15, level) * 60); }