forked from External/mage
Merge pull request #6211 from michaelrfarcasin/feature/freeform-unlimited-commander
Add Freeform Unlimited Commander game type
This commit is contained in:
commit
9ba249c543
15 changed files with 421 additions and 1 deletions
|
|
@ -650,6 +650,12 @@ public class NewTableDialog extends MageDialog {
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
case "Variant Magic - Freeform Unlimited Commander":
|
||||
if (!options.getGameType().startsWith("Freeform Unlimited Commander")) {
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Deck type Freeform+ Commander needs also a Freeform Unlimited Commander game type", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case "Variant Magic - Brawl":
|
||||
case "Variant Magic - Duel Brawl":
|
||||
if (!options.getGameType().startsWith("Brawl")) {
|
||||
|
|
@ -698,6 +704,12 @@ public class NewTableDialog extends MageDialog {
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
case "Freeform Unlimited Commander":
|
||||
if (!options.getDeckType().equals("Variant Magic - Freeform Unlimited Commander")) {
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Deck type Freeform Unlimited Commander needs also a Freeform Unlimited Commander game type", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case "Brawl Two Player Duel":
|
||||
case "Brawl Free For All":
|
||||
if (!options.getDeckType().equals("Variant Magic - Brawl")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue