From 4874ad31c199ea573187ea2790268be3a4d4c95a Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sun, 14 Mar 2021 19:05:25 -0400 Subject: [PATCH] [IKO] added workaround for Yorion, Sky Nomad not being usable in a two player match with limited set as deck type --- .../Mage.Game.TwoPlayerDuel/src/mage/game/TwoPlayerMatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Server.Plugins/Mage.Game.TwoPlayerDuel/src/mage/game/TwoPlayerMatch.java b/Mage.Server.Plugins/Mage.Game.TwoPlayerDuel/src/mage/game/TwoPlayerMatch.java index 720ae4fd242..56e3535ee32 100644 --- a/Mage.Server.Plugins/Mage.Game.TwoPlayerDuel/src/mage/game/TwoPlayerMatch.java +++ b/Mage.Server.Plugins/Mage.Game.TwoPlayerDuel/src/mage/game/TwoPlayerMatch.java @@ -17,7 +17,7 @@ public class TwoPlayerMatch extends MatchImpl { @Override public void startGame() throws GameException { Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans()); - TwoPlayerDuel game = new TwoPlayerDuel(options.getAttackOption(), options.getRange(), mulligan, 20, options.isLimited() ? 40 : 60); + TwoPlayerDuel game = new TwoPlayerDuel(options.getAttackOption(), options.getRange(), mulligan, 20, options.isLimited() || "Limited".equals(options.getDeckType()) ? 40 : 60); // Sets a start message about the match score game.setStartMessage(this.createGameStartMessage()); initGame(game);