From da7bd9c0d7017701e3dabf637eb1ce027185e45d Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Tue, 30 Apr 2019 16:33:41 +0400 Subject: [PATCH] * Added new game type: Freeform Commander Two Player Duel --- .../src/main/java/mage/client/dialog/NewTableDialog.java | 3 ++- Mage.Server.Plugins/pom.xml | 5 +++-- Mage.Server/config/config.xml | 1 + Mage.Server/pom.xml | 6 ++++++ Mage.Server/release/config/config.xml | 1 + 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/dialog/NewTableDialog.java b/Mage.Client/src/main/java/mage/client/dialog/NewTableDialog.java index c488ff9621..1fece57129 100644 --- a/Mage.Client/src/main/java/mage/client/dialog/NewTableDialog.java +++ b/Mage.Client/src/main/java/mage/client/dialog/NewTableDialog.java @@ -683,8 +683,9 @@ public class NewTableDialog extends MageDialog { return false; } break; + case "Freeform Commander Two Player Duel": case "Freeform Commander Free For All": - if (!options.getDeckType().equals("Variant Magic - Freeform Commander")){ + if (!options.getDeckType().equals("Variant Magic - Freeform Commander")) { JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Deck type Freeform Commander needs also a Freeform Commander game type", "Error", JOptionPane.ERROR_MESSAGE); return false; } diff --git a/Mage.Server.Plugins/pom.xml b/Mage.Server.Plugins/pom.xml index cf0611b51e..248976e212 100644 --- a/Mage.Server.Plugins/pom.xml +++ b/Mage.Server.Plugins/pom.xml @@ -25,8 +25,9 @@ Mage.Game.TinyLeadersDuel Mage.Game.CanadianHighlanderDuel Mage.Game.PennyDreadfulCommanderFreeForAll - Mage.Game.FreeformCommanderFreeForAll - Mage.Game.BrawlDuel + Mage.Game.FreeformCommanderDuel + Mage.Game.FreeformCommanderFreeForAll + Mage.Game.BrawlDuel Mage.Game.BrawlFreeForAll Mage.Game.TwoPlayerDuel Mage.Player.AI diff --git a/Mage.Server/config/config.xml b/Mage.Server/config/config.xml index 0475c3cbe6..aa2223ceab 100644 --- a/Mage.Server/config/config.xml +++ b/Mage.Server/config/config.xml @@ -79,6 +79,7 @@ + diff --git a/Mage.Server/pom.xml b/Mage.Server/pom.xml index 9386469d6c..72d63a77d6 100644 --- a/Mage.Server/pom.xml +++ b/Mage.Server/pom.xml @@ -184,6 +184,12 @@ ${project.version} runtime + + ${project.groupId} + mage-game-freeformcommanderduel + ${project.version} + runtime + ${project.groupId} diff --git a/Mage.Server/release/config/config.xml b/Mage.Server/release/config/config.xml index 2a294b3093..bea0cd3d65 100644 --- a/Mage.Server/release/config/config.xml +++ b/Mage.Server/release/config/config.xml @@ -73,6 +73,7 @@ +