Package mage.target.common

Examples of mage.target.common.TargetCardInLibrary.clearChosen()


                    if (controller.cast(card.getSpellAbility(), game, true))
                    {
                        game.getExile().removeCard(card, game);
                    }
                }
                target.clearChosen();
        }

        return true;
    }
}
View Full Code Here


            int opponentsUsedSearch = 0;
            for (UUID playerId : game.getOpponents(controller.getId())) {
                Player opponent = game.getPlayer(playerId);
                if (opponent != null) {
                    if (opponent.chooseUse(outcome, "Search your library for a land card and put it onto the battlefield?", game)) {
                        target.clearChosen();
                        opponentsUsedSearch++;
                        if (opponent.searchLibrary(target, game)) {
                            for (UUID cardId: target.getTargets()) {
                                Card card = game.getCard(cardId);
                                if (card != null) {
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.