From d9435633a77016c495328c788d6f041dcda5234b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 21 Oct 2022 21:59:55 +0200 Subject: [PATCH] better one-two coefficient --- onlinetichu-counter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onlinetichu-counter.js b/onlinetichu-counter.js index f53dd6b..20a6930 100644 --- a/onlinetichu-counter.js +++ b/onlinetichu-counter.js @@ -386,7 +386,7 @@ function injectCounter() { grandTichuUnsuccesful: lostGrand, tichuUnsuccesful: lostTichu, tichuCoefficient: (( (generalStats.grandTichuSuccessful - lostGrand) * 200 + (generalStats.tichuSuccessful - lostTichu) * 100 ) / generalStats.rounds).toFixed(1), - oneTwoCoefficient: (200 * generalStats.oneTwo / generalStats.rounds).toFixed(1) + oneTwoCoefficient: (100 * generalStats.oneTwo / generalStats.rounds).toFixed(1) // note that we only use 100 here, as a One-Two is scored for both players. This way, this is better comparable to the tichuCoefficient } var userStats = {