* Commander abilities - fixed that it increases commander tax after cast/play from non-command zone (as example: after Remand effect);

This commit is contained in:
Oleg Agafonov 2019-07-13 10:47:02 +04:00
parent 2197d8ee4a
commit 8c40a1d1a7
15 changed files with 105 additions and 92 deletions

View file

@ -1,4 +1,3 @@
package mage.game;
import mage.game.match.MatchImpl;
@ -6,7 +5,6 @@ import mage.game.match.MatchOptions;
import mage.game.mulligan.Mulligan;
/**
*
* @author spjspj
*/
public class FreeformCommanderFreeForAllMatch extends MatchImpl {
@ -18,12 +16,9 @@ public class FreeformCommanderFreeForAllMatch extends MatchImpl {
@Override
public void startGame() throws GameException {
int startLife = 40;
boolean alsoHand = true;
Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
FreeformCommanderFreeForAll game = new FreeformCommanderFreeForAll(options.getAttackOption(), options.getRange(), mulligan, startLife);
game.setStartMessage(this.createGameStartMessage());
game.setAlsoHand(alsoHand);
game.setAlsoLibrary(true);
initGame(game);
games.add(game);
}