Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.BasicManaEffect


        super(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(3), new SacrificeSourceCost());
        this.addCost(new DiscardHandCost());
    }

    public LionsEyeDiamondAbility(Zone zone, Mana mana, Cost cost) {
        super(zone, new BasicManaEffect(mana), cost);
        this.netMana = mana.copy();
    }
View Full Code Here


       
        // {tap}: Add {1} to your mana pool. If Gemstone Caverns has a luck counter on it, instead add one mana of any color to your mana pool.
        Ability ability = new ConditionalManaAbility(Zone.BATTLEFIELD,
                new ConditionalManaEffect(
                    new AddManaOfAnyColorEffect(),
                    new BasicManaEffect(Mana.ColorlessMana),   
                    new SourceHasCounterCondition(CounterType.LUCK),
                    "Add {1} to your mana pool. If {this} has a luck counter on it, instead add one mana of any color to your mana pool."),
                new TapSourceCost());       
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setBlack(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Sacrifice Blood Vassal: Add {B}{B} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.BlackMana(2)), new SacrificeSourceCost()));
    }
View Full Code Here

}

class WornPowerstoneAbility extends BasicManaAbility {

    public WornPowerstoneAbility() {
        super(new BasicManaEffect(Mana.ColorlessMana(2)));
        this.netMana.setColorless(2);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.BasicManaEffect

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.