mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00: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 - Commander":
|
||||||
case "Variant Magic - Duel Commander":
|
case "Variant Magic - Duel Commander":
|
||||||
case "Variant Magic - MTGO 1v1 Commander":
|
case "Variant Magic - MTGO 1v1 Commander":
|
||||||
|
case "Variant Magic - Centurion Commander":
|
||||||
case "Variant Magic - Penny Dreadful Commander":
|
case "Variant Magic - Penny Dreadful Commander":
|
||||||
if (!options.getGameType().startsWith("Commander")) {
|
if (!options.getGameType().startsWith("Commander")) {
|
||||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Deck type Commander needs also a Commander game type", "Error", JOptionPane.ERROR_MESSAGE);
|
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")
|
if (!options.getDeckType().equals("Variant Magic - Commander")
|
||||||
&& !options.getDeckType().equals("Variant Magic - Duel Commander")
|
&& !options.getDeckType().equals("Variant Magic - Duel Commander")
|
||||||
&& !options.getDeckType().equals("Variant Magic - MTGO 1v1 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 - Freeform Commander")
|
||||||
&& !options.getDeckType().equals("Variant Magic - Penny Dreadful 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);
|
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));
|
formatFilterList.add(RowFilter.regexFilter("^Constructed - Premodern", TablesTableModel.COLUMN_DECK_TYPE));
|
||||||
}
|
}
|
||||||
if (btnFormatCommander.isSelected()) {
|
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()) {
|
if (btnFormatTinyLeader.isSelected()) {
|
||||||
formatFilterList.add(RowFilter.regexFilter("^Tiny", TablesTableModel.COLUMN_DECK_TYPE));
|
formatFilterList.add(RowFilter.regexFilter("^Tiny", TablesTableModel.COLUMN_DECK_TYPE));
|
||||||
|
|
|
@ -0,0 +1,86 @@
|
||||||
|
|
||||||
|
package mage.deck;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author andreacosta
|
||||||
|
*/
|
||||||
|
public class CenturionCommander extends Commander {
|
||||||
|
|
||||||
|
public CenturionCommander() {
|
||||||
|
super("Centurion Commander");
|
||||||
|
banned.add("Ancestral Recall");
|
||||||
|
banned.add("Ancient Tomb");
|
||||||
|
banned.add("Back to Basic");
|
||||||
|
banned.add("Balance");
|
||||||
|
banned.add("Bazaar of Baghdad");
|
||||||
|
banned.add("Black Lotus");
|
||||||
|
banned.add("Cataclysm");
|
||||||
|
banned.add("Channel");
|
||||||
|
banned.add("Chaos Orb");
|
||||||
|
banned.add("Chrome Mox");
|
||||||
|
banned.add("Demonic Tutor");
|
||||||
|
banned.add("Dig Through Time");
|
||||||
|
banned.add("Emrakul, the Aeons Torn");
|
||||||
|
banned.add("Emrakul, the Promised End");
|
||||||
|
banned.add("Entomb");
|
||||||
|
banned.add("Erayo, Soratami Ascendant");
|
||||||
|
banned.add("Falling Star");
|
||||||
|
banned.add("Fastbond");
|
||||||
|
banned.add("Food Chain");
|
||||||
|
banned.add("Gaea’s Cradle");
|
||||||
|
banned.add("Gifts Ungiven");
|
||||||
|
banned.add("Grim Monolith");
|
||||||
|
banned.add("Grindstone");
|
||||||
|
banned.add("Hermit Druid");
|
||||||
|
banned.add("High Tide");
|
||||||
|
banned.add("Humility");
|
||||||
|
banned.add("Imperial Seal");
|
||||||
|
banned.add("Karakas");
|
||||||
|
banned.add("Library of Alexandria");
|
||||||
|
banned.add("Mana Crypt");
|
||||||
|
banned.add("Mana Drain");
|
||||||
|
banned.add("Mana Vault");
|
||||||
|
banned.add("Mishra’s Workshop");
|
||||||
|
banned.add("Mind Twist");
|
||||||
|
banned.add("Mox Diamond");
|
||||||
|
banned.add("Mox Emerald");
|
||||||
|
banned.add("Mox Jet");
|
||||||
|
banned.add("Mox Pearl");
|
||||||
|
banned.add("Mox Ruby");
|
||||||
|
banned.add("Mox Sapphire");
|
||||||
|
banned.add("Mystical Tutor");
|
||||||
|
banned.add("Natural Order");
|
||||||
|
banned.add("Necropotence");
|
||||||
|
banned.add("Oath of Druids");
|
||||||
|
banned.add("Protean Hulk");
|
||||||
|
banned.add("Sensei’s Diving Top");
|
||||||
|
banned.add("Serra Ascendant");
|
||||||
|
banned.add("Sharazad");
|
||||||
|
banned.add("Survival of the Fittest");
|
||||||
|
banned.add("Sol Ring");
|
||||||
|
banned.add("Strip Mine");
|
||||||
|
banned.add("The Tabernacle at Pendrell Vale");
|
||||||
|
banned.add("Time Vault");
|
||||||
|
banned.add("Time Walk");
|
||||||
|
banned.add("Tinker");
|
||||||
|
banned.add("Tolarian Academy");
|
||||||
|
banned.add("Treasure Cruise");
|
||||||
|
banned.add("Vampiric Tutor");
|
||||||
|
banned.add("Vanishing");
|
||||||
|
banned.add("Winter Orb");
|
||||||
|
banned.add("Yawgmoth’s Bargain");
|
||||||
|
|
||||||
|
bannedCommander.add("Baral, Chief of Compliance");
|
||||||
|
bannedCommander.add("Derevi, Empyrial Tactician");
|
||||||
|
bannedCommander.add("Edgar Markov");
|
||||||
|
bannedCommander.add("Kess, Dissident Mage");
|
||||||
|
bannedCommander.add("Rofellos, Llanowar Emissary");
|
||||||
|
|
||||||
|
bannedCommander.add("Rowan Kenrith");
|
||||||
|
bannedCommander.add("Tymna the Weaver");
|
||||||
|
bannedCommander.add("Will Kenrith");
|
||||||
|
bannedCommander.add("Vial Smasher The Fierce");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -22,7 +22,7 @@ public class CommanderDuelMatch extends MatchImpl {
|
||||||
startLife = 20; // Starting with the Commander 2016 update (on November 11th, 2016), Duel Commander will be played with 20 life points instead of 30.
|
startLife = 20; // Starting with the Commander 2016 update (on November 11th, 2016), Duel Commander will be played with 20 life points instead of 30.
|
||||||
checkCommanderDamage = false; // since nov 16 duel commander uses no longer commander damage rule
|
checkCommanderDamage = false; // since nov 16 duel commander uses no longer commander damage rule
|
||||||
}
|
}
|
||||||
if (options.getDeckType().equals("Variant Magic - MTGO 1v1 Commander")) {
|
if (options.getDeckType().equals("Variant Magic - MTGO 1v1 Commander") || options.getDeckType().equals("Variant Magic - Centurion Commander")) {
|
||||||
startLife = 30;
|
startLife = 30;
|
||||||
}
|
}
|
||||||
Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
|
Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
|
||||||
|
|
|
@ -169,6 +169,7 @@
|
||||||
<deckType name="Variant Magic - Commander" jar="mage-deck-constructed.jar" className="mage.deck.Commander"/>
|
<deckType name="Variant Magic - Commander" jar="mage-deck-constructed.jar" className="mage.deck.Commander"/>
|
||||||
<deckType name="Variant Magic - Duel Commander" jar="mage-deck-constructed.jar" className="mage.deck.DuelCommander"/>
|
<deckType name="Variant Magic - Duel Commander" jar="mage-deck-constructed.jar" className="mage.deck.DuelCommander"/>
|
||||||
<deckType name="Variant Magic - MTGO 1v1 Commander" jar="mage-deck-constructed.jar" className="mage.deck.MTGO1v1Commander"/>
|
<deckType name="Variant Magic - MTGO 1v1 Commander" jar="mage-deck-constructed.jar" className="mage.deck.MTGO1v1Commander"/>
|
||||||
|
<deckType name="Variant Magic - Centurion Commander" jar="mage-deck-constructed.jar" className="mage.deck.CenturionCommander"/>
|
||||||
<deckType name="Variant Magic - Tiny Leaders" jar="mage-deck-constructed.jar" className="mage.deck.TinyLeaders"/>
|
<deckType name="Variant Magic - Tiny Leaders" jar="mage-deck-constructed.jar" className="mage.deck.TinyLeaders"/>
|
||||||
<deckType name="Variant Magic - Momir Basic" jar="mage-deck-constructed.jar" className="mage.deck.Momir"/>
|
<deckType name="Variant Magic - Momir Basic" jar="mage-deck-constructed.jar" className="mage.deck.Momir"/>
|
||||||
<deckType name="Variant Magic - Penny Dreadful Commander" jar="mage-deck-constructed.jar" className="mage.deck.PennyDreadfulCommander"/>
|
<deckType name="Variant Magic - Penny Dreadful Commander" jar="mage-deck-constructed.jar" className="mage.deck.PennyDreadfulCommander"/>
|
||||||
|
|
|
@ -163,6 +163,7 @@
|
||||||
<deckType name="Variant Magic - Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.Commander"/>
|
<deckType name="Variant Magic - Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.Commander"/>
|
||||||
<deckType name="Variant Magic - Duel Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.DuelCommander"/>
|
<deckType name="Variant Magic - Duel Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.DuelCommander"/>
|
||||||
<deckType name="Variant Magic - MTGO 1v1 Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.MTGO1v1Commander"/>
|
<deckType name="Variant Magic - MTGO 1v1 Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.MTGO1v1Commander"/>
|
||||||
|
<deckType name="Variant Magic - Centurion Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.CenturionCommander"/>
|
||||||
<deckType name="Variant Magic - Tiny Leaders" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.TinyLeaders"/>
|
<deckType name="Variant Magic - Tiny Leaders" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.TinyLeaders"/>
|
||||||
<deckType name="Variant Magic - Momir Basic" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.Momir"/>
|
<deckType name="Variant Magic - Momir Basic" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.Momir"/>
|
||||||
<deckType name="Variant Magic - Penny Dreadful Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.PennyDreadfulCommander"/>
|
<deckType name="Variant Magic - Penny Dreadful Commander" jar="mage-deck-constructed-${project.version}.jar" className="mage.deck.PennyDreadfulCommander"/>
|
||||||
|
|
Loading…
Reference in a new issue