From 93a71fd5f7d5f19ff4c365e7aadd6a4b42e01944 Mon Sep 17 00:00:00 2001 From: Wilson Date: Thu, 1 May 2025 13:48:59 -0400 Subject: [PATCH] feat: easier level up (#2589) * make level up a bit easier * fix env var * fix env var * generated --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> --- lib/pangea/analytics_misc/construct_list_model.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pangea/analytics_misc/construct_list_model.dart b/lib/pangea/analytics_misc/construct_list_model.dart index edacf7741..468db7ac7 100644 --- a/lib/pangea/analytics_misc/construct_list_model.dart +++ b/lib/pangea/analytics_misc/construct_list_model.dart @@ -189,7 +189,7 @@ class ConstructListModel { int calculateLevelWithXp(int totalXP) { // [D] is the "compression factor". It determines how quickly /// or slowly the level grows relative to XP - const double D = 2500; + const double D = 1500; final doubleScore = (1 + sqrt((1 + (8.0 * totalXP / D)) / 2.0)); if (!doubleScore.isNaN && doubleScore.isFinite) { return doubleScore.floor();