mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-07-18 16:42:58 -05:00
Update LC suspect COIL
This commit is contained in:
parent
fbebc718c7
commit
c74c6aa545
|
|
@ -806,7 +806,7 @@
|
|||
} else if (row.formatid === 'nususpecttest') {
|
||||
buffer += '<td>' + Math.round(40.0 * parseFloat(row.gxe) * Math.pow(2.0, -20.0 / N), 0) + '</td>';
|
||||
} else if (row.formatid === 'lcsuspecttest') {
|
||||
buffer += '<td>' + Math.round(40.0 * parseFloat(row.gxe) * Math.pow(2.0, -43.0 / N), 0) + '</td>';
|
||||
buffer += '<td>' + Math.round(40.0 * parseFloat(row.gxe) * Math.pow(2.0, -9.0 / N), 0) + '</td>';
|
||||
} else if (row.formatid === 'doublesoucurrent' || row.formatid === 'doublesoususpecttest') {
|
||||
buffer += '<td>' + Math.round(40.0 * parseFloat(row.gxe) * Math.pow(2.0, -12.0 / N), 0) + '</td>';
|
||||
} else if (row.formatid === 'pu') {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ foreach ($toplist as $row)
|
|||
elseif ($row['formatid'] == 'uususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-20.0/$N) : 0,1,'.','');
|
||||
elseif ($row['formatid'] == 'rususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-9.0/$N) : 0,1,'.','');
|
||||
elseif ($row['formatid'] == 'nususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-20.0/$N) : 0,1,'.','');
|
||||
elseif ($row['formatid'] == 'lcsuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-43.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'] == 'pu') echo number_format($N ? 40*$row['gxe']*pow(2.0,-17.0/$N) : 0,1,'.','');
|
||||
else echo '--'; ?></td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user