Examples of addManaCost()


Examples of mage.abilities.common.SimpleActivatedAbility.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.common.SimpleActivatedAbility.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.common.SimpleActivatedAbility.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

Examples of mage.abilities.common.SimpleActivatedAbility.addManaCost()

    this.toughness = new MageInt(5);
 
        this.addAbility(new SwampwalkAbility());
    // {5}, {T}: Search your library for a Mercenary 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(5));
    this.addAbility(ability);
    }

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

Examples of mage.abilities.common.SimpleActivatedAbility.addManaCost()

    this.power = new MageInt(2);
    this.toughness = new MageInt(2);
 
    // {2}, {T}: Search your library for a Mercenary permanent card with converted mana cost 2 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(2));
    this.addAbility(ability);
    }

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

Examples of mage.abilities.common.SimpleActivatedAbility.addManaCost()

    this.power = new MageInt(1);
    this.toughness = new MageInt(1);
 
    // {3}, {T}: Search your library for a Rebel permanent card with converted mana cost 2 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(3));
    this.addAbility(ability);
    }

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

Examples of mage.abilities.common.SimpleActivatedAbility.addManaCost()

        // First strike
        this.addAbility(FirstStrikeAbility.getInstance());

    // {5}, {T}: Search your library for a Rebel 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(5));
    this.addAbility(ability);
    }

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

Examples of mage.abilities.common.SimpleActivatedAbility.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.common.SimpleActivatedAbility.addManaCost()

    this.power = new MageInt(4);
    this.toughness = new MageInt(2);
 
    // {3}, {T}: Search your library for a Mercenary 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(3));
    this.addAbility(ability);
    }

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

Examples of mage.abilities.common.SimpleActivatedAbility.addManaCost()

        destroyAbility.addTarget(new TargetCreaturePermanent(destroyFilter));
        this.addAbility(destroyAbility);
       
        // {3}, {T}: Search your library for a Mercenary 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(3));
        this.addAbility(ability);
    }

    public RathiAssassin(final RathiAssassin 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.