diff --git a/onlinetichu-counter.js b/onlinetichu-counter.js index a1b1fe7..2bccf9d 100644 --- a/onlinetichu-counter.js +++ b/onlinetichu-counter.js @@ -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,10 +492,10 @@ 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; + t = 'T' + stats.custom.tichuCoefficient + ' O' + stats.custom.oneTwoCoefficient; otc.$playerTichuCoefficient[dirs[i]].text(t); } else { otc.$playerMyLevel[dirs[i]].text('');