mirror of
https://github.com/correl/mage.git
synced 2024-11-25 19:19:55 +00:00
26 lines
768 B
Java
26 lines
768 B
Java
package mage.game;
|
|
|
|
import mage.game.match.MatchImpl;
|
|
import mage.game.match.MatchOptions;
|
|
import mage.game.mulligan.Mulligan;
|
|
|
|
/**
|
|
* @author JayDi85
|
|
*/
|
|
public class OathbreakerDuelMatch extends MatchImpl {
|
|
|
|
public OathbreakerDuelMatch(MatchOptions options) {
|
|
super(options);
|
|
}
|
|
|
|
@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);
|
|
}
|
|
}
|