Search in sources :

Example 1 with Mulligan

use of mage.game.mulligan.Mulligan in project mage by magefree.

the class OathbreakerDuelMatch method startGame.

@Override
public void startGame() throws GameException {
    int startLife = 20;
    Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
    OathbreakerDuel game = new OathbreakerDuel(options.getAttackOption(), options.getRange(), mulligan, startLife);
    game.setCheckCommanderDamage(false);
    game.setStartMessage(this.createGameStartMessage());
    initGame(game);
    games.add(game);
}
Also used : Mulligan(mage.game.mulligan.Mulligan)

Example 2 with Mulligan

use of mage.game.mulligan.Mulligan in project mage by magefree.

the class OathbreakerFreeForAllMatch method startGame.

@Override
public void startGame() throws GameException {
    int startLife = 20;
    Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
    OathbreakerFreeForAll game = new OathbreakerFreeForAll(options.getAttackOption(), options.getRange(), mulligan, startLife);
    game.setCheckCommanderDamage(false);
    game.setStartMessage(this.createGameStartMessage());
    initGame(game);
    games.add(game);
}
Also used : Mulligan(mage.game.mulligan.Mulligan)

Example 3 with Mulligan

use of mage.game.mulligan.Mulligan in project mage by magefree.

the class TinyLeadersDuelMatch method startGame.

@Override
public void startGame() throws GameException {
    // Tiny Leaders Play Rule 13: Players begin the game with 25 life.
    int startLife = 25;
    Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
    TinyLeadersDuel game = new TinyLeadersDuel(options.getAttackOption(), options.getRange(), mulligan, startLife);
    game.setStartMessage(this.createGameStartMessage());
    // Tucking a Tiny Leader is legal
    game.setAlsoHand(false);
    game.setAlsoLibrary(false);
    this.initGame(game);
    games.add(game);
}
Also used : Mulligan(mage.game.mulligan.Mulligan)

Example 4 with Mulligan

use of mage.game.mulligan.Mulligan in project mage by magefree.

the class FreeformCommanderFreeForAllMatch method startGame.

@Override
public void startGame() throws GameException {
    int startLife = 40;
    Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
    FreeformCommanderFreeForAll game = new FreeformCommanderFreeForAll(options.getAttackOption(), options.getRange(), mulligan, startLife);
    game.setStartMessage(this.createGameStartMessage());
    initGame(game);
    games.add(game);
}
Also used : Mulligan(mage.game.mulligan.Mulligan)

Example 5 with Mulligan

use of mage.game.mulligan.Mulligan in project mage by magefree.

the class MomirFreeForAllMatch method startGame.

@Override
public void startGame() throws GameException {
    // Momir Vig, Simic Visionary gives +4 starting life
    int startLife = 24;
    Mulligan mulligan = options.getMulliganType().getMulligan(options.getFreeMulligans());
    MomirGame game = new MomirGame(options.getAttackOption(), options.getRange(), mulligan, startLife);
    game.setStartMessage(this.createGameStartMessage());
    this.initGame(game);
    games.add(game);
}
Also used : Mulligan(mage.game.mulligan.Mulligan)

Aggregations

Mulligan (mage.game.mulligan.Mulligan)16 FreeformUnlimitedCommander (mage.game.FreeformUnlimitedCommander)1 LondonMulligan (mage.game.mulligan.LondonMulligan)1 Test (org.junit.Test)1