From a6fe93dbe8b89f14aeeecb809f0107de64873508 Mon Sep 17 00:00:00 2001 From: HF Date: Wed, 3 Jan 2024 15:23:28 +0100 Subject: [PATCH] change acitivity threshold when punishment for country kicks in --- src/core/Ranks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Ranks.js b/src/core/Ranks.js index 65f66fd..f637ea2 100644 --- a/src/core/Ranks.js +++ b/src/core/Ranks.js @@ -94,7 +94,7 @@ class Ranks { return; } /* - * don't punish when canvas has less than 22% of + * don't punish when canvas has less than 50% of * daily peak activity */ const { pHourlyStats } = this.ranks; @@ -104,7 +104,7 @@ class Ranks { maxActivity = e; } }); - if (pHourlyStats[0] < maxActivity * 0.22) { + if (pHourlyStats[0] < maxActivity * 0.5) { this.#punishedCountry = null; this.#punishmentFactor = 1.0; return;