mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
Merge 6889502142 into 10f8967023
This commit is contained in:
commit
2e71ec2210
|
|
@ -1017,7 +1017,7 @@
|
|||
if (typeof values[j] !== 'number' && typeof values[j] !== 'string' || isNaN(values[j])) return self.add('|raw|Error: corrupted ranking data');
|
||||
}
|
||||
|
||||
buffer += '<td>' + BattleLog.escapeFormat(formatId) + '</td><td><strong>' + Math.round(row.elo) + '</strong></td>';
|
||||
buffer += '<td>' + BattleLog.escapeFormat(formatId) + '</td><td><strong>' + Math.floor(row.elo) + '</strong></td>';
|
||||
if (row.rprd > 100) {
|
||||
// High rating deviation. Provisional rating.
|
||||
buffer += '<td>–</td>';
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ class LadderFormatPanel extends PSRoomPanel<LadderFormatRoom> {
|
|||
>
|
||||
{row.username}
|
||||
</span></td>
|
||||
<td style={{ textAlign: 'center' }}><strong>{row.elo.toFixed(0)}</strong></td>
|
||||
<td style={{ textAlign: 'center' }}><strong>{Math.floor(row.elo)}</strong></td>
|
||||
<td style={{ textAlign: 'center' }}>{Math.trunc(row.gxe)}<small>.{row.gxe.toFixed(1).slice(-1)}%</small></td>
|
||||
<td style={{ textAlign: 'center' }}><em>{row.rpr.toFixed(0)}<small> ± {row.rprd.toFixed(0)}</small></em></td>
|
||||
{showCOIL && <td style={{ textAlign: 'center' }}>{row.coil?.toFixed(0)}</td>}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user