Examples of DiscardHandCost


Examples of mage.abilities.costs.common.DiscardHandCost

        // {4}, {tap}, Discard your hand: Draw a card for each creature you control.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new DrawCardSourceControllerEffect(new PermanentsOnBattlefieldCount(new FilterControlledCreaturePermanent("creature you control"))),
                new GenericManaCost(4));
        ability.addCost(new TapSourceCost());
        ability.addCost(new DiscardHandCost());
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.costs.common.DiscardHandCost

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

        // Counter target spell unless its controller discards his or her hand.
        Effect effect = new CounterUnlessPaysEffect(new DiscardHandCost());
        effect.setText("Counter target spell unless its controller discards his or her hand");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetSpell());
        // Transmute {1}{U}{B}
        this.addAbility(new TransmuteAbility("{1}{U}{B}"));
View Full Code Here

Examples of mage.abilities.costs.common.DiscardHandCost

class LionsEyeDiamondAbility extends ManaAbility {

    public LionsEyeDiamondAbility() {
        super(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(3), new SacrificeSourceCost());
        this.addCost(new DiscardHandCost());
    }
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.