Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.BasicManaEffect


    }

    class DreamstoneHedronFirstManaAbility extends BasicManaAbility {

    public DreamstoneHedronFirstManaAbility() {
        super(new BasicManaEffect(new Mana(0, 0, 0, 0, 0, 3, 0)));
        this.netMana.setColorless(3);
    }
View Full Code Here


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

        // Exile Elvish Spirit Guide from your hand: Add {G} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.HAND, new BasicManaEffect(Mana.GreenMana), new ExileSourceFromHandCost()));
    }
View Full Code Here

}

class PalladiumMyrAbility extends BasicManaAbility {

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

    static {
            filter.add(new SubtypePredicate("Swamp"));
    }

    public CryptGhastTriggeredAbility() {
        super(Zone.BATTLEFIELD, new BasicManaEffect(Mana.BlackMana), false);
        this.usesStack = false;
    }
View Full Code Here

       
        // Other Snake creatures you control get +0/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, snakeFilter, true)));
        // Shamans you control have "{T}: Add {G}{G} to your mana pool."
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(
                new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.GreenMana(2)), new TapSourceCost()), Duration.WhileOnBattlefield, shamanFilter, false)));
    }
View Full Code Here

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

        this.addAbility(new EntersBattlefieldTriggeredAbility(new BasicManaEffect(Mana.RedMana(3))));
    }
View Full Code Here

        filter.add(new ColorPredicate(ObjectColor.BLUE));
        filter.add(Predicates.not(new TappedPredicate()));
    }

    GrandArchitectManaAbility ( ) {
        super(Zone.BATTLEFIELD, new BasicManaEffect(new GrandArchitectConditionalMana()), new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, true)));
        this.netMana.setColorless(2);
    }
View Full Code Here

        this.toughness = new MageInt(5);

        // Defender
        this.addAbility(DefenderAbility.getInstance());
        // Put a -0/-1 counter on Wall of Roots: Add {G} to your mana pool. Activate this ability only once each turn.
        this.addAbility(new ActivateOncePerTurnManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.GreenMana), new WallOfRootsCost()));
    }
View Full Code Here

    public PyreticRitual(UUID ownerId) {
        super(ownerId, 153, "Pyretic Ritual", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}");
        this.expansionSetCode = "M11";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new BasicManaEffect(Mana.RedMana(3)));
    }
View Full Code Here

        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Tap an untapped Druid you control: Add {G} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD,
                                                  new BasicManaEffect(Mana.GreenMana),
                                                  new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, true))));
    }
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.