mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Add Canadian Highlander format
This commit is contained in:
parent
532eb3fdea
commit
de6fae8c00
2 changed files with 2 additions and 2 deletions
|
@ -599,7 +599,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
||||||
formatFilterList.add(RowFilter.regexFilter("^Limited", TableTableModel.COLUMN_DECK_TYPE));
|
formatFilterList.add(RowFilter.regexFilter("^Limited", TableTableModel.COLUMN_DECK_TYPE));
|
||||||
}
|
}
|
||||||
if (btnFormatOther.isSelected()) {
|
if (btnFormatOther.isSelected()) {
|
||||||
formatFilterList.add(RowFilter.regexFilter("^Momir Basic|^Constructed - Pauper|^Constructed - Frontier|^Constructed - Extended|^Constructed - Eternal|^Constructed - Historical|^Constructed - Super|^Constructed - Freeform|^Australian Highlander", TableTableModel.COLUMN_DECK_TYPE));
|
formatFilterList.add(RowFilter.regexFilter("^Momir Basic|^Constructed - Pauper|^Constructed - Frontier|^Constructed - Extended|^Constructed - Eternal|^Constructed - Historical|^Constructed - Super|^Constructed - Freeform|^Australian Highlander|^Canadian Highlander", TableTableModel.COLUMN_DECK_TYPE));
|
||||||
}
|
}
|
||||||
|
|
||||||
List<RowFilter<Object, Object>> skillFilterList = new ArrayList<>();
|
List<RowFilter<Object, Object>> skillFilterList = new ArrayList<>();
|
||||||
|
|
|
@ -86,7 +86,7 @@ public class CanadianHighlander extends Constructed {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int allowedPoints = 10 * (int) Math.ceil(deck.getCards().size()/100.0);
|
int allowedPoints = 10 * (int) Math.floor(deck.getCards().size()/100.0);
|
||||||
int totalPoints = 0;
|
int totalPoints = 0;
|
||||||
for (Map.Entry<String, Integer> entry : counts.entrySet()) {
|
for (Map.Entry<String, Integer> entry : counts.entrySet()) {
|
||||||
String cn = entry.getKey();
|
String cn = entry.getKey();
|
||||||
|
|
Loading…
Reference in a new issue