Package mage.abilities.effects.common.discard

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


        this.color.setBlack(true);
        this.color.setWhite(true);

        // Target player discards two cards. You gain 3 life for each land card discarded this way.
        this.getSpellAbility().addEffect(new DiscardTargetEffect(2));
        this.getSpellAbility().addEffect(new GerrardsVerdictEffect());
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.addWatcher(new GerrardsVerdictWatcher());

    }
View Full Code Here


        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new DrawCardTargetEffect(3),
            new ManaCostsImpl("{U}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {U}, {T}, Sacrifice {this}: Target player draws three cards, then discards three cards. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addEffect(new DiscardTargetEffect(3));
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetPlayer());
        this.addAbility(thresholdAbility);
    }
View Full Code Here

        this.toughness = new MageInt(2);

        this.addAbility(FlyingAbility.getInstance());

        // Whenever Hypnotic Specter deals damage to an opponent, that player discards a card at random.
        this.addAbility(new DealsDamageToOpponentTriggeredAbility(new DiscardTargetEffect(1, true)));
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());
       
        // Whenever Abyssal Specter deals damage to a player, that player discards a card.
        this.addAbility(new DealsDamageToAPlayerTriggeredAbility(new DiscardTargetEffect(1, false), false, true));
    }
View Full Code Here

        this.color.setBlack(true);

        // Choose one - Target player discards two cards; or target player reveals his or her hand, you choose a card from it, then that player discards that card.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DiscardTargetEffect(2));
        Mode mode = new Mode();
        mode.getEffects().add(new SplittingHeadacheEffect());
        mode.getTargets().add(new TargetPlayer());
        this.getSpellAbility().addMode(mode);
View Full Code Here

TOP

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

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.