mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Add Centurion banlist
This commit is contained in:
parent
041fb31205
commit
35a4f1a2fd
6 changed files with 92 additions and 2 deletions
|
|
@ -637,6 +637,7 @@ public class NewTableDialog extends MageDialog {
|
|||
case "Variant Magic - Commander":
|
||||
case "Variant Magic - Duel Commander":
|
||||
case "Variant Magic - MTGO 1v1 Commander":
|
||||
case "Variant Magic - Centurion Commander":
|
||||
case "Variant Magic - Penny Dreadful Commander":
|
||||
if (!options.getGameType().startsWith("Commander")) {
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Deck type Commander needs also a Commander game type", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
|
|
@ -683,6 +684,7 @@ public class NewTableDialog extends MageDialog {
|
|||
if (!options.getDeckType().equals("Variant Magic - Commander")
|
||||
&& !options.getDeckType().equals("Variant Magic - Duel Commander")
|
||||
&& !options.getDeckType().equals("Variant Magic - MTGO 1v1 Commander")
|
||||
&& !options.getDeckType().equals("Variant Magic - Centurion Commander")
|
||||
&& !options.getDeckType().equals("Variant Magic - Freeform Commander")
|
||||
&& !options.getDeckType().equals("Variant Magic - Penny Dreadful Commander")) {
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Deck type Commander needs also a Commander game type", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
|
|
|
|||
|
|
@ -812,7 +812,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
|||
formatFilterList.add(RowFilter.regexFilter("^Constructed - Premodern", TablesTableModel.COLUMN_DECK_TYPE));
|
||||
}
|
||||
if (btnFormatCommander.isSelected()) {
|
||||
formatFilterList.add(RowFilter.regexFilter("^Commander|^Duel Commander|^Penny Dreadful Commander|^Freeform Commander|^MTGO 1v1 Commander|^Duel Brawl|^Brawl", TablesTableModel.COLUMN_DECK_TYPE));
|
||||
formatFilterList.add(RowFilter.regexFilter("^Commander|^Duel Commander|^Centurion Commander|^Penny Dreadful Commander|^Freeform Commander|^MTGO 1v1 Commander|^Duel Brawl|^Brawl", TablesTableModel.COLUMN_DECK_TYPE));
|
||||
}
|
||||
if (btnFormatTinyLeader.isSelected()) {
|
||||
formatFilterList.add(RowFilter.regexFilter("^Tiny", TablesTableModel.COLUMN_DECK_TYPE));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue