include winrate in shown stats, compact display
This commit is contained in:
parent
ac9fdb9f35
commit
f8137f3664
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
// ==UserScript==
|
||||
// @name onlinetichu.com card counter
|
||||
// @version 1.3.3
|
||||
// @version 1.3.4
|
||||
// @description automatically count cards at onlinetichu.com
|
||||
// @match *://*.onlinetichu.com/Site/Game/Table/*
|
||||
// @author Maximilian Keßler
|
||||
|
@ -216,8 +216,8 @@ function injectCounter() {
|
|||
playerTichuCoefficient.id = direction + 'PlayerTichuCoefficient';
|
||||
playerTichuCoefficient.innerText = '';
|
||||
|
||||
playerDiv.insertBefore(playerTichuCoefficient, playerTichu);
|
||||
playerDiv.insertBefore(playerMyLevel, playerTichu);
|
||||
playerDiv.insertBefore(playerTichuCoefficient, playerTichu);
|
||||
}
|
||||
|
||||
patchPlayerStats('south');
|
||||
|
@ -492,7 +492,7 @@ function injectCounter() {
|
|||
for(i in dirs) {
|
||||
stats = otc.stats[otc.playerNames[dirs[i]]];
|
||||
if (stats != undefined) {
|
||||
t = 'L ' + stats.general.level + ' A ' + stats.custom.abandonmentRate + '%';
|
||||
t = 'L' + stats.general.level + ' A' + stats.custom.abandonmentRate + ' W' + stats.general.winningPercentage + '';
|
||||
otc.$playerMyLevel[dirs[i]].text(t);
|
||||
|
||||
t = 'T' + stats.custom.tichuCoefficient + ' O' + stats.custom.oneTwoCoefficient;
|
||||
|
|
Loading…
Reference in a new issue