better one-two coefficient

This commit is contained in:
Maximilian Keßler 2022-10-21 21:59:55 +02:00
parent 13aca8e5c7
commit d9435633a7
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -386,7 +386,7 @@ function injectCounter() {
grandTichuUnsuccesful: lostGrand, grandTichuUnsuccesful: lostGrand,
tichuUnsuccesful: lostTichu, tichuUnsuccesful: lostTichu,
tichuCoefficient: (( (generalStats.grandTichuSuccessful - lostGrand) * 200 + (generalStats.tichuSuccessful - lostTichu) * 100 ) / generalStats.rounds).toFixed(1), 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 = { var userStats = {