Package mage.abilities.mana

Examples of mage.abilities.mana.AnyColorManaAbility.addEffect()


        super(ownerId, 151, "Chromatic Sphere", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "MRD";
        Ability ability = new AnyColorManaAbility(new GenericManaCost(1));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addEffect(new DrawCardSourceControllerEffect(1));
        this.addAbility(ability);
    }

    public ChromaticSphere(final ChromaticSphere card) {
        super(card);
View Full Code Here


        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {tap}: Add one mana of any color to your mana pool. Grand Coliseum deals 1 damage to you.
        Ability ability = new AnyColorManaAbility();
        ability.addEffect(new DamageControllerEffect(1));
        this.addAbility(ability);
    }

    public GrandColiseum(final GrandColiseum card) {
        super(card);
View Full Code Here

        super(ownerId, 167, "Undiscovered Paradise", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "VIS";

        // {tap}: Add one mana of any color to your mana pool. During your next untap step, as you untap your permanents, return Undiscovered Paradise to its owner's hand.
        Ability ability = new AnyColorManaAbility();
        ability.addEffect(new UndiscoveredParadiseEffect());
        this.addAbility(ability);
    }

    public UndiscoveredParadise(final UndiscoveredParadise card) {
        super(card);
View Full Code Here

        // {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);
    }

    public TarnishedCitadel(final TarnishedCitadel card) {
        super(card);
View Full Code Here

        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.MINING.createInstance(3))));

        // {tap}, Remove a mining counter from Gemstone Mine: Add one mana of any color to your mana pool. If there are no mining counters on Gemstone Mine, sacrifice it.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new RemoveCountersSourceCost(CounterType.MINING.createInstance(1)));
        ability.addEffect(new ConditionalOneShotEffect(new SacrificeSourceEffect(), new SourceHasCounterCondition(CounterType.MINING, 0,0), "If there are no mining counters on Gemstone Mine, sacrifice it"));
        this.addAbility(ability);
    }

    public GemstoneMine(final GemstoneMine card) {
        super(card);
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.