Examples of addManaCost()


Examples of mage.abilities.Ability.addManaCost()

    costs.add(new TapSourceCost());
    costs.add(new SacrificeSourceCost());
    costs.add(new TectonicEdgeCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), costs);
    ability.addTarget(new TargetNonBasicLandPermanent());
    ability.addManaCost(new GenericManaCost(1));
    this.addAbility(ability);
  }

  public TectonicEdge(final TectonicEdge card) {
    super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

        Costs costs = new CostsImpl();
        costs.add(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance()));
        costs.add(new TapSourceCost());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(3), costs);
        ability.addManaCost(new GenericManaCost(2));
        this.addAbility(ability);

        Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), new TapSourceCost());
        ability2.addManaCost(new ManaCostsImpl("{W}{W}"));
        this.addAbility(ability2);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(3), costs);
        ability.addManaCost(new GenericManaCost(2));
        this.addAbility(ability);

        Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), new TapSourceCost());
        ability2.addManaCost(new ManaCostsImpl("{W}{W}"));
        this.addAbility(ability2);
    }

    public TrigonOfMending(final TrigonOfMending card) {
        super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // {7}, {T}: Search your library for a Rebel permanent card with converted mana cost 6 or less and put it onto the battlefield. Then shuffle your library.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
        ability.addManaCost(new GenericManaCost(7));
        this.addAbility(ability);
    }

    public RamosianSkyMarshal(final RamosianSkyMarshal card) {
        super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

    this.power = new MageInt(2);
    this.toughness = new MageInt(1);
 
    // {1}, {T}: Search your library for a Mercenary permanent card with converted mana cost 1 or less and put it onto the battlefield. Then shuffle your library.
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
    ability.addManaCost(new GenericManaCost(1));
    this.addAbility(ability);
    }

    public CateranPersuader(final CateranPersuader card) {
        super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

    this.toughness = new MageInt(3);
 
        this.addAbility(FearAbility.getInstance());
    // {4}, {T}: Search your library for a Mercenary permanent card with converted mana cost 4 or less and put it onto the battlefield. Then shuffle your library.
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
    ability.addManaCost(new GenericManaCost(4));
    this.addAbility(ability);
    }

    public CateranEnforcer(final CateranEnforcer card) {
        super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

    this.power = new MageInt(2);
    this.toughness = new MageInt(4);
 
    // {6}, {T}: Search your library for a Rebel permanent card with converted mana cost 5 or less and put it onto the battlefield. Then shuffle your library.
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
    ability.addManaCost(new GenericManaCost(6));
    this.addAbility(ability);
    }

    public RamosianCommander(final RamosianCommander card) {
        super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

 
    // Sacrifice a creature: Regenerate Cateran Overlord.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new SacrificeTargetCost(new TargetControlledCreaturePermanent())));
    // {6}, {T}: Search your library for a Mercenary permanent card with converted mana cost 6 or less and put it onto the battlefield. Then shuffle your library.
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
    ability.addManaCost(new GenericManaCost(6));
    this.addAbility(ability);
    }

    public CateranOverlord(final CateranOverlord card) {
        super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

        costs.add(new TapSourceCost());
        costs.add(new SacrificeSourceCost());
        costs.add(new TectonicEdgeCost());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), costs);
        ability.addTarget(new TargetNonBasicLandPermanent());
        ability.addManaCost(new GenericManaCost(1));
        this.addAbility(ability);
    }

    public TectonicEdge(final TectonicEdge card) {
        super(card);
View Full Code Here

Examples of mage.abilities.Ability.addManaCost()

    this.power = new MageInt(1);
    this.toughness = new MageInt(2);
 
    // {4}, {T}: Search your library for a Rebel permanent card with converted mana cost 3 or less and put it onto the battlefield. Then shuffle your library.
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter)), new TapSourceCost());
    ability.addManaCost(new GenericManaCost(4));
    this.addAbility(ability);
    }

    public RamosianLieutenant(final RamosianLieutenant card) {
        super(card);
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.