Package mage.players

Examples of mage.players.Player.lookAtCards()


            if (card != null) {
                cards.add(card);
                game.setZone(card.getId(), Zone.PICK);
            }
        }
        player.lookAtCards("Call to the Kindred", cards, game);

        FilterCreatureCard filter = new FilterCreatureCard();
        StringBuilder sb = new StringBuilder("creature card with at least one subtype from: ");
        ArrayList<Predicate<MageObject>> subtypes = new ArrayList<Predicate<MageObject>>();
        for (String subtype : creature.getSubtype()) {
View Full Code Here


            if (card != null) {
                cards.add(card);
                game.setZone(card.getId(), Zone.PICK);
            }
        }
        player.lookAtCards("Jar of Eyeballs", cards, game);

        TargetCard target = new TargetCard(Zone.PICK, new FilterCard("card to put into your hand"));
        if (player.choose(Outcome.DrawCard, cards, target, game)) {
            Card card = cards.get(target.getFirstTarget(), game);
            if (card != null) {
View Full Code Here

                    legendaryIncluded = true;
                }
                game.setZone(card.getId(), Zone.PICK);
            }
        }
        player.lookAtCards("Heroes' Podium", cards, game);

        // You may reveal a legendary creature card from among them and put it into your hand.
        if (!cards.isEmpty() && legendaryIncluded && player.chooseUse(outcome, "Put a legendary creature card into your hand?", game)) {
            if (cards.size() == 1) {
                Card card = cards.getRandom(game);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.