From ebd41a3163aa7e524bb16247b6679915ae9dde21 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Tue, 30 Jul 2019 18:41:54 +0200 Subject: [PATCH] Adjust experience required for first levels --- website/common/script/statHelpers.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/common/script/statHelpers.js b/website/common/script/statHelpers.js index ff52662d52..b678f08ef1 100644 --- a/website/common/script/statHelpers.js +++ b/website/common/script/statHelpers.js @@ -23,6 +23,11 @@ export function capByLevel (lvl) { */ export function toNextLevel (lvl) { + if (lvl < 5) { + return 25 * lvl; + } else if (lvl === 5) { + return 150; + } return Math.round((Math.pow(lvl, 2) * 0.25 + 10 * lvl + 139.75) / 10) * 10; }