mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
* 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:
parent
2197d8ee4a
commit
8c40a1d1a7
15 changed files with 105 additions and 92 deletions
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
package mage.game;
|
||||
|
||||
import mage.game.match.MatchImpl;
|
||||
|
|
@ -7,7 +5,6 @@ import mage.game.match.MatchOptions;
|
|||
import mage.game.mulligan.Mulligan;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class CommanderFreeForAllMatch extends MatchImpl {
|
||||
|
|
@ -19,16 +16,12 @@ public class CommanderFreeForAllMatch extends MatchImpl {
|
|||
@Override
|
||||
public void startGame() throws GameException {
|
||||
int startLife = 40;
|
||||
boolean alsoHand = true;
|
||||
if (options.getDeckType().equals("Variant Magic - Duel Commander")) {
|
||||
startLife = 30;
|
||||
alsoHand = true; // commander going to hand allowed to go to command zone effective July 17, 2015
|
||||
}
|
||||
Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
|
||||
CommanderFreeForAll game = new CommanderFreeForAll(options.getAttackOption(), options.getRange(), mulligan, startLife);
|
||||
game.setStartMessage(this.createGameStartMessage());
|
||||
game.setAlsoHand(alsoHand);
|
||||
game.setAlsoLibrary(true);
|
||||
initGame(game);
|
||||
games.add(game);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue