コード例 #1
0
  public MagicGame getGame() {
    final MagicDuel duel = createDuel();
    final MagicGame game = duel.nextGame();
    game.setPhase(MagicMainPhase.getFirstInstance());
    final MagicPlayer player = game.getPlayer(0);
    final MagicPlayer opponent = game.getPlayer(1);

    MagicPlayer P = player;

    P.setLife(4);
    P.setPoison(6);
    addToLibrary(P, "Plains", 10);
    createPermanent(P, "Rupture Spire", false, 8);
    addToHand(P, "Inkmoth Nexus", 1);
    addToHand(P, "Stonework Puma", 1);

    P = opponent;

    P.setLife(1);
    P.setPoison(8);
    addToLibrary(P, "Island", 10);
    createPermanent(P, "Rupture Spire", false, 8);
    addToHand(P, "Stonework Puma", 1);
    addToHand(P, "Llanowar Elves", 1);
    addToHand(P, "Prickly Boggart", 1);
    addToHand(P, "Veteran Armorer", 1);

    return game;
  }
コード例 #2
0
  public MagicGame getGame() {
    final MagicDuel duel = createDuel();
    final MagicGame game = duel.nextGame();
    game.setPhase(MagicMainPhase.getFirstInstance());
    final MagicPlayer player = game.getPlayer(0);
    final MagicPlayer opponent = game.getPlayer(1);

    MagicPlayer P = player;

    P.setLife(1);
    addToLibrary(P, "Mountain", 1);
    addToGraveyard(P, "Lightning Bolt", 1);
    addToGraveyard(P, "Mountain", 10);
    addToGraveyard(P, "Lightning Bolt", 1);
    addToGraveyard(P, "Mountain", 10);
    createPermanent(P, "Mountain", false, 8);
    createPermanent(P, "Chromatic Lantern", false, 1);
    createPermanent(P, "Bow of Nylea", false, 1);

    P = opponent;

    P.setLife(1);
    addToLibrary(P, "Mountain", 1);
    addToGraveyard(P, "Lightning Bolt", 1);
    addToGraveyard(P, "Mountain", 10);
    addToGraveyard(P, "Lightning Bolt", 1);
    addToGraveyard(P, "Mountain", 10);
    createPermanent(P, "Mountain", false, 8);
    createPermanent(P, "Chromatic Lantern", false, 1);
    createPermanent(P, "Bow of Nylea", false, 1);

    return game;
  }
コード例 #3
0
ファイル: TestMorph.java プロジェクト: raymondlu/magarena
  public MagicGame getGame() {
    final MagicDuel duel = createDuel();
    final MagicGame game = duel.nextGame();
    game.setPhase(MagicMainPhase.getFirstInstance());
    final MagicPlayer player = game.getPlayer(0);
    final MagicPlayer opponent = game.getPlayer(1);

    MagicPlayer P = player;

    P.setLife(5);
    addToLibrary(P, "Forest", 20);
    createPermanent(P, "Thousand Winds", false, 3);
    createPermanent(P, "Island", false, 9);
    createPermanent(P, "Forest", false, 1);
    addToHand(P, "Backslide", 2);
    addToHand(P, "Giant Growth", 1);
    //        addToHand(P, "Lightning Bolt", 1);
    //        addToHand(P, "Ludevic's Test Subject", 2);

    P = opponent;

    P.setLife(1);
    addToLibrary(P, "Forest", 20);
    //        createPermanent(P, "Island", false, 8);
    //        createPermanent(P, "Grizzly Bears", false, 1);
    addToHand(P, "Ludevic's Test Subject", 2);

    return game;
  }
コード例 #4
0
ファイル: TestSetSource.java プロジェクト: raymondlu/magarena
  public MagicGame getGame() {
    final MagicDuel duel = createDuel();
    final MagicGame game = duel.nextGame();
    game.setPhase(MagicMainPhase.getFirstInstance());
    final MagicPlayer player = game.getPlayer(0);
    final MagicPlayer opponent = game.getPlayer(1);

    MagicPlayer P = player;

    P.setLife(20);
    addToLibrary(P, "Plains", 10);
    createPermanent(P, "Rupture Spire", false, 8);
    addToHand(P, "Joraga Warcaller", 2);
    addToHand(P, "Llanowar Elite", 2);

    P = opponent;

    P.setLife(20);
    addToLibrary(P, "Plains", 10);
    createPermanent(P, "Rupture Spire", false, 8);
    createPermanent(P, "Phyrexian Crusader", false, 3);

    return game;
  }
コード例 #5
0
  public MagicGame getGame() {
    final MagicDuel duel = createDuel();
    final MagicGame game = duel.nextGame();
    game.setPhase(MagicMainPhase.getFirstInstance());
    final MagicPlayer player = game.getPlayer(0);
    final MagicPlayer opponent = game.getPlayer(1);

    MagicPlayer P = player;

    P.setLife(20);
    addToLibrary(P, "Plains", 10);
    createPermanent(P, "Rupture Spire", false, 8);
    addToHand(P, "Dungeon Geists", 1);

    P = opponent;

    P.setLife(20);
    addToLibrary(P, "Plains", 10);
    createPermanent(P, "Rupture Spire", false, 8);
    createPermanent(P, "Serra Angel", false, 1);
    addToHand(P, "Act of Treason", 1);

    return game;
  }