Package mage.abilities.mana

Examples of mage.abilities.mana.AnyColorManaAbility


    public CoalitionRelic(UUID ownerId) {
        super(ownerId, 161, "Coalition Relic", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "FUT";

        // {tap}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility());
        // {tap}: Put a charge counter on Coalition Relic.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance(), true), new TapSourceCost()));
        // At the beginning of your precombat main phase, remove all charge counters from Coalition Relic. Add one mana of any color to your mana pool for each charge counter removed this way.
        this.addAbility(new BeginningOfPreCombatMainTriggeredAbility(new CoalitionRelicEffect(), TargetController.YOU, false));
    }
View Full Code Here


        this.toughness = new MageInt(4);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // {tap}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility());
    }
View Full Code Here

    public UndiscoveredParadise(UUID ownerId) {
        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);
    }
View Full Code Here

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

        // {1}{G}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new ManaCostsImpl("{1}{G}")));
    }
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

        this.expansionSetCode = "TSP";

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {1}, {tap}: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility(new ManaCostsImpl("{1}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        super(ownerId, 273, "Shimmering Grotto", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "LRW";
        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {1}, {tap}: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility(new GenericManaCost(1));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

    public ChromaticLantern(UUID ownerId) {
        super(ownerId, 226, "Chromatic Lantern", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "RTR";

        // Lands you control have "{T}: Add one mana of any color to your mana pool."
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(new AnyColorManaAbility(), Duration.WhileOnBattlefield, new FilterLandPermanent("Lands"), false)));


        // {T}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility());

    }
View Full Code Here

        this.toughness = new MageInt(2);

        // When Elvish Harbinger enters the battlefield, you may search your library for an Elf card, reveal it, then shuffle your library and put that card on top of it.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filter), true, true), true));
        // {tap}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new TapSourceCost()));
    }
View Full Code Here

        super(ownerId, 144, "Rupture Spire", Rarity.COMMON, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "CON";

        this.addAbility(new EntersBattlefieldTappedAbility());
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SacrificeSourceUnlessPaysEffect(new ManaCostsImpl("{1}")), false));
        this.addAbility(new AnyColorManaAbility());
    }
View Full Code Here

TOP

Related Classes of mage.abilities.mana.AnyColorManaAbility

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.