Package mage.abilities.mana

Examples of mage.abilities.mana.ManaAbility


        this.expansionSetCode = "USG";

        this.color.setBlack(true);

        // Until end of turn, lands you control gain "Sacrifice this land: Add {B} to your mana pool."
        ManaAbility ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.BlackMana, new SacrificeSourceCost());
        this.getSpellAbility().addEffect(new GainAbilityAllEffect(ability, Duration.EndOfTurn, new FilterControlledLandPermanent()));
    }
View Full Code Here


        this.expansionSetCode = "ODY";

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana, new TapSourceCost()));
        // {tap}: Add one mana of any color to your mana pool. Tarnished Citadel deals 3 damage to you.
        ManaAbility ability = new AnyColorManaAbility(new TapSourceCost());
        ability.addEffect(new DamageControllerEffect(3));
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.mana.ManaAbility

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.