Examples of ConditionalManaEffect


Examples of mage.abilities.decorator.ConditionalManaEffect

        this.color.setBlack(true);

        // Add {B}{B}{B} to your mana pool.
        // Threshold — Add {B}{B}{B}{B}{B} to your mana pool instead if seven or more cards are in your graveyard.
        this.getSpellAbility().addEffect(new ConditionalManaEffect(
                new BasicManaEffect(new Mana(0, 0, 0, 0, 5, 0, 0)),
                new BasicManaEffect(new Mana(0, 0, 0, 0, 3, 0, 0)),
                new CardsInControllerGraveCondition(7),
                "Add {B}{B}{B} to your mana pool.<br/><br/><i>Threshold<i/> - Add {B}{B}{B}{B}{B} to your mana pool instead if seven or more cards are in your graveyard"));
    }
View Full Code Here

Examples of mage.abilities.decorator.ConditionalManaEffect

    public RiverOfTears(UUID ownerId) {
        super(ownerId, 179, "River of Tears", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "FUT";

        // {tap}: Add {U} to your mana pool. If you played a land this turn, add {B} to your mana pool instead.
        this.addAbility(new ConditionalManaAbility(Zone.BATTLEFIELD, new ConditionalManaEffect(
                new BasicManaEffect(Mana.BlackMana),
                new BasicManaEffect(Mana.BlueMana),
                LandfallCondition.getInstance(),
                "Add {U} to your mana pool. If you played a land this turn, add {B} to your mana pool instead"),
            new TapSourceCost()));
View Full Code Here

Examples of mage.abilities.decorator.ConditionalManaEffect

        // If Gemstone Caverns is in your opening hand and you're not playing first, you may begin the game with Gemstone Caverns on the battlefield with a luck counter on it. If you do, exile a card from your hand.
        this.addAbility(new GemstoneCavernsAbility());
       
        // {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());       
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.