forked from External/mage
* add startHandSize / startLife to the custom option panel * use the custom startLife/startHandsize in all Game Modes
30 lines
1,007 B
Java
30 lines
1,007 B
Java
|
|
package mage.game;
|
|
|
|
import mage.constants.MultiplayerAttackOption;
|
|
import mage.constants.PhaseStep;
|
|
import mage.constants.RangeOfInfluence;
|
|
import mage.game.mulligan.Mulligan;
|
|
import mage.game.turn.TurnMod;
|
|
|
|
import java.util.UUID;
|
|
|
|
public abstract class GameCanadianHighlanderImpl extends GameImpl {
|
|
|
|
public GameCanadianHighlanderImpl(MultiplayerAttackOption attackOption, RangeOfInfluence range, Mulligan mulligan, int startLife, int startHandSize) {
|
|
super(attackOption, range, mulligan, 100, startLife, startHandSize);
|
|
}
|
|
|
|
protected GameCanadianHighlanderImpl(final GameCanadianHighlanderImpl game) {
|
|
super(game);
|
|
}
|
|
|
|
@Override
|
|
protected void init(UUID choosingPlayerId) {
|
|
super.init(choosingPlayerId);
|
|
// 103.7a In a two-player game, the player who plays first skips the draw step (see rule 504, "Draw Step")
|
|
// of his or her first turn.
|
|
state.getTurnMods().add(new TurnMod(startingPlayerId).withSkipStep(PhaseStep.DRAW));
|
|
}
|
|
|
|
}
|