Skip to content

Commit

Permalink
Add UU suspect test COIL
Browse files Browse the repository at this point in the history
  • Loading branch information
TheImmortal committed Feb 7, 2015
1 parent 0e54872 commit 995a9f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/client-chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,8 @@
buffer += '<td>'+Math.round(40.0*parseFloat(row.gxe)*Math.pow(2.0,-17.0/N),0)+'</td>';
} else if (row.formatid === 'uberssuspecttest') {
buffer += '<td>'+Math.round(40.0*parseFloat(row.gxe)*Math.pow(2.0,-29.0/N),0)+'</td>';
} else if (row.formatid === 'uususpecttest') {
buffer += '<td>'+Math.round(40.0*parseFloat(row.gxe)*Math.pow(2.0,-20.0/N),0)+'</td>';
} else if (row.formatid === 'rususpecttest') {
buffer += '<td>'+Math.round(40.0*parseFloat(row.gxe)*Math.pow(2.0,-20.0/N),0)+'</td>';
} else if (row.formatid === 'lcsuspecttest') {
Expand Down
1 change: 1 addition & 0 deletions ladder.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<td>
<?php if ($row['formatid'] == 'oususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-17.0/$N) : 0,1,'.','');
elseif ($row['formatid'] == 'uberssuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-29.0/$N) : 0,1,'.','');
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,-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'] == 'smogondoublescurrent' || $row['formatid'] == 'smogondoublessuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-16.0/$N) : 0,1,'.','');
Expand Down

0 comments on commit 995a9f4

Please sign in to comment.