[IKO] added workaround for Yorion, Sky Nomad not being usable in a two player match with limited set as deck type

This commit is contained in:
Evan Kranzler 2021-03-14 19:05:25 -04:00
parent 5e2738aab9
commit 4874ad31c1

View file

@ -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);