Package mage.abilities.mana

Examples of mage.abilities.mana.AnyColorManaAbility


        // Whenever City of Brass becomes tapped, it deals 1 damage to you.
        this.addAbility(new BecomesTappedTriggeredAbility(new DamageControllerEffect(1)));

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


        this.expansionSetCode = "STH";

        // If Mox Diamond would enter the battlefield, you may discard a land card instead. If you do, put Mox Diamond onto the battlefield. If you don't, put it into its owner's graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new MoxDiamondReplacementEffect()));
        // {tap}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility());
    }
View Full Code Here

    public PhyrexianLens(UUID ownerId) {
        super(ownerId, 307, "Phyrexian Lens", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "INV";

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

        this.expansionSetCode = "INV";

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

        this.expansionSetCode = "HOP";

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // Remove a charge counter from Pentad Prism: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1))));
    }
View Full Code Here

    public MoxOpal(UUID ownerId) {
        super(ownerId, 179, "Mox Opal", Rarity.MYTHIC, new CardType[]{CardType.ARTIFACT}, "{0}");
        this.supertype.add("Legendary");
        this.expansionSetCode = "SOM";

        Ability ability = new AnyColorManaAbility();
        ability.addCost(new MetalcraftCost());
        this.addAbility(ability);
    }
View Full Code Here

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

        // Sliver creatures you control have "{T}: Add one mana of any color to your mana pool."
        Ability ability = new AnyColorManaAbility();
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new GainAbilityAllEffect(ability,
                Duration.WhileOnBattlefield, new FilterControlledCreaturePermanent("Sliver","Sliver creatures"),
                "Sliver creatures you control have \"{T}: Add one mana of any color to your mana pool.\"")));
    }
View Full Code Here

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

        // All Slivers have "{tap}: Add one mana of any color to your mana pool."
        Ability ability = new AnyColorManaAbility();
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new GainAbilityAllEffect(ability,
                        Duration.WhileOnBattlefield, filter,
                        "All Slivers have \"{T}: Add one mana of any color to your mana pool.\"")));
    }
View Full Code Here

    public PhyrexianAltar(UUID ownerId) {
        super(ownerId, 306, "Phyrexian Altar", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "INV";

        // Sacrifice a creature: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new SacrificeTargetCost(new TargetControlledCreaturePermanent())));
    }
View Full Code Here

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

        // {tap}: Add one mana of any color to your mana pool.
        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.