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,
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 = {