Package mage.abilities.costs.common

Examples of mage.abilities.costs.common.DiscardSourceCost


*/
public class CyclingAbility extends ActivatedAbilityImpl<CyclingAbility> {

  public CyclingAbility(ManaCosts costs) {
    super(Zone.HAND, new CycleEffect(), costs);
    this.addCost(new DiscardSourceCost());
  }
View Full Code Here


    private final Cost cost;
    private final String text;
   
    public CyclingAbility(Cost cost) {
        super(Zone.HAND, new DrawCardSourceControllerEffect(1), cost);
        this.addCost(new DiscardSourceCost());
        this.cost = cost;
        this.text = "Cycling";
    }
View Full Code Here

        this.text = "Cycling";
    }
   
    public CyclingAbility(Cost cost, FilterCard filter, String text){
        super(Zone.HAND, new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true, true), cost);
        this.addCost(new DiscardSourceCost());
        this.cost = cost;
        this.text = text;
    }
View Full Code Here

public class BloodrushAbility extends ActivatedAbilityImpl {

    public BloodrushAbility(String manaString, Effect effect) {
        super(Zone.HAND, effect, new ManaCostsImpl(manaString));
        this.addCost(new DiscardSourceCost());
        this.addTarget(new TargetAttackingCreature());
    }
View Full Code Here

        this(manaString, effect, TimingRule.INSTANT);
    }
   
    public ChannelAbility(String manaString, Effect effect, TimingRule timing) {
        super(Zone.HAND, effect, new ManaCostsImpl(manaString));
        this.addCost(new DiscardSourceCost());
        this.timing = timing;
    }
View Full Code Here

        this(new StaticValue(count), cost);
    }

    public ReinforceAbility(DynamicValue count, Cost cost) {
        super(Zone.HAND, new AddCountersTargetEffect(CounterType.P1P1.createInstance(0), count), cost);
        this.addCost(new DiscardSourceCost());
        this.addTarget(new TargetCreaturePermanent());
        this.cost = cost.copy();
        this.count = count;
    }
View Full Code Here

*/
public class TransmuteAbility extends SimpleActivatedAbility {
    public TransmuteAbility(String manaCost) {
        super(Zone.HAND, new TransmuteEffect(), new ManaCostsImpl(manaCost));
        this.setTiming(TimingRule.SORCERY);
        this.addCost(new DiscardSourceCost());
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Discard Faerie Macabre: Exile up to two target cards from graveyards.
        Ability ability = new SimpleActivatedAbility(Zone.HAND, new FaerieMacabreExileTargetEffect(), new DiscardSourceCost());
        ability.addTarget(new TargetCardInGraveyard(0, 2, new FilterCard("cards from graveyards")));
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.costs.common.DiscardSourceCost

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.