Package mage.abilities.effects.common.discard

Examples of mage.abilities.effects.common.discard.DiscardCardYouChooseTargetEffect


        this.color.setBlack(true);

        // Target player reveals his or her hand. You choose a nonland card from it. That player discards that card.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter, TargetController.ANY));
    }
View Full Code Here


        mode.getEffects().add(new MarduCharmCreateTokenEffect());
        this.getSpellAbility().addMode(mode);
       
        // <strong>*</strong> Target opponent reveals his or her hand. You choose a noncreature, nonland card from it.  That player discards that card.
        mode = new Mode();
        mode.getEffects().add(new DiscardCardYouChooseTargetEffect(filter));
        mode.getTargets().add(new TargetOpponent());
        this.getSpellAbility().addMode(mode);
       
    }
View Full Code Here

        this.color.setBlack(true);

        // Target opponent reveals his or her hand. You choose a creature or planeswalker card from it. That player discards that card.
        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter));
    }
View Full Code Here

        this.color.setBlack(true);

        // Target player reveals his or her hand. You choose a Spirit or Arcane card from it. That player discards that card.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter, TargetController.ANY));
    }
View Full Code Here

        this.color.setBlack(true);

        // Target player reveals a number of cards from his or her hand equal to the number of Swamps you control. You choose one of them. That player discards that card.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(TargetController.ANY, new PermanentsOnBattlefieldCount(filter)));

    }
View Full Code Here

        // You may exile a black card from your hand rather than pay Unmask's mana cost.
        this.addAbility(new AlternativeCostSourceAbility(new ExileFromHandCost(new TargetCardInHand(filter))));    
       
        // Target player reveals his or her hand. You choose a nonland card from it. That player discards that card.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filterNonLand, TargetController.ANY));
    }
View Full Code Here

        this.expansionSetCode = "ONS";

        this.color.setBlack(true);

        // Target player reveals three cards from his or her hand and you choose one of them. That player discards that card.
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(TargetController.ANY, 3));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

        this.color.setBlack(true);

        // Target opponent reveals his or her hand. You choose an artifact card from it. That player discards that card.
        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter));
    }
View Full Code Here

        this.color.setBlack(true);

        // Target opponent reveals his or her hand. You choose a creature card from it. That player discards that card.
        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(new FilterCreatureCard("a creature card")));
    }
View Full Code Here

        this.color.setBlack(true);

        // Target player reveals his or her hand. You choose a card from it. That player discards that card.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(TargetController.ANY));
        // Dredge 2
        this.addAbility(new DredgeAbility(2));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.discard.DiscardCardYouChooseTargetEffect

Copyright © 2018 www.massapicom. 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.