Package mage.abilities.mana

Examples of mage.abilities.mana.WhiteManaAbility.addCost()


        // {tap}, Pay 1 life: Add {G} or {W} to your mana pool.
        Ability ability1 = new GreenManaAbility();
        ability1.addCost(new PayLifeCost(1));
        this.addAbility(ability1);
        Ability ability2 = new WhiteManaAbility();
        ability2.addCost(new PayLifeCost(1));
        this.addAbility(ability2);
        // {1}, {tap}, Sacrifice Horizon Canopy: Draw a card.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new GenericManaCost(1));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
View Full Code Here


        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {tap}: Add {W} to your mana pool. Activate this ability only if you control an Island.
        Ability addW = new WhiteManaAbility();
        addW.addCost(new FilterPermanentCost(controlIsland));
        this.addAbility(addW);
        // {tap}: Add {U} to your mana pool. Activate this ability only if you control a Plains.
        Ability addU = new BlueManaAbility();
        addU.addCost(new FilterPermanentCost(controlPlains));
        this.addAbility(addU);
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.