diff --git a/js/client-chat.js b/js/client-chat.js index 0cf330b81..4842c7733 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -769,7 +769,7 @@ } else if (row.formatid === 'doublesoucurrent' || row.formatid === 'doublesoususpecttest') { buffer += '' + Math.round(40.0 * parseFloat(row.gxe) * Math.pow(2.0, -12.0 / N), 0) + ''; } else if (row.formatid === 'balancedhackmons') { - buffer += '' + Math.round(40.0 * parseFloat(row.gxe) * Math.pow(2.0, -9.0 / N), 0) + ''; + buffer += '' + Math.round(40.0 * parseFloat(row.gxe) * Math.pow(2.0, -10.0 / N), 0) + ''; } else { buffer += '--'; } diff --git a/ladder.php b/ladder.php index 7b3022f7a..607db3fa1 100644 --- a/ladder.php +++ b/ladder.php @@ -53,7 +53,7 @@ foreach ($toplist as $row) elseif ($row['formatid'] == 'pususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-9.0/$N) : 0,1,'.',''); elseif ($row['formatid'] == 'lcsuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-9.0/$N) : 0,1,'.',''); elseif ($row['formatid'] == 'doublesoucurrent' || $row['formatid'] == 'doublesoususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-12.0/$N) : 0,1,'.',''); - elseif ($row['formatid'] == 'balancedhackmons') echo number_format($N ? 40*$row['gxe']*pow(2.0,-9.0/$N) : 0,1,'.',''); + elseif ($row['formatid'] == 'balancedhackmons') echo number_format($N ? 40*$row['gxe']*pow(2.0,-10.0/$N) : 0,1,'.',''); else echo '--'; ?>