From ca181073356bf56651d38004aea69eff9e232c96 Mon Sep 17 00:00:00 2001 From: The Immortal Date: Fri, 5 Aug 2016 16:58:05 +0400 Subject: [PATCH] Add Monotype COIL --- js/client-ladder.js | 3 ++- ladder.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/client-ladder.js b/js/client-ladder.js index 8ce328f12..a50571c50 100644 --- a/js/client-ladder.js +++ b/js/client-ladder.js @@ -92,7 +92,8 @@ 'pususpecttest': 9, 'lcsuspecttest': 9, 'doublesoucurrent': 12, - 'doublesoususpecttest': 12 + 'doublesoususpecttest': 12, + 'monotype': 4 } }); diff --git a/ladder.php b/ladder.php index 9cffbd638..cfcc358f6 100644 --- a/ladder.php +++ b/ladder.php @@ -53,6 +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'] == 'monotype') echo number_format($N ? 40*$row['gxe']*pow(2.0,-4.0/$N) : 0,1,'.',''); else echo '--'; ?>