Package mage.abilities.mana

Examples of mage.abilities.mana.AnyColorManaAbility


        this.expansionSetCode = "5DN";
        this.subtype.add("Equipment");

        // Equipped creature has "{tap}: Add one mana of any color to your mana pool."
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new GainAbilityAttachedEffect(new AnyColorManaAbility(new TapSourceCost()), AttachmentType.EQUIPMENT, Duration.WhileOnBattlefield)));
        // Equip {1}
        this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(1)));
    }
View Full Code Here


        effect.addEffect(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(2)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
        // {tap}: Add {B} to your mana pool.
        this.addAbility(new BlackManaAbility());
        // {tap}, Remove a charge counter from Vivid Marsh: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)));
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "5DN";

        // {2}: Put a charge counter on Gemstone Array.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new ManaCostsImpl("{2}")));
        // Remove a charge counter from Gemstone Array: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1))));
    }
View Full Code Here

        effect.addEffect(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(2)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
        // {tap}: Add {G} to your mana pool.
        this.addAbility(new GreenManaAbility());
        // {tap}, Remove a charge counter from Vivid Grove: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)));
        this.addAbility(ability);
    }
View Full Code Here

        // Bog Wreckage enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {B} to your mana pool.
        this.addAbility(new BlackManaAbility());
        // {tap}, Sacrifice Bog Wreckage: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        effect.addEffect(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(2)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
        // {tap}: Add {W} to your mana pool.
        this.addAbility(new WhiteManaAbility());
        // {tap}, Remove a charge counter from Vivid Meadow: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)));
        this.addAbility(ability);
    }
View Full Code Here

        effect.addEffect(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(2)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
        // {tap}: Add {U} to your mana pool.
        this.addAbility(new BlueManaAbility());
        // {tap}, Remove a charge counter from Vivid Creek: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)));
        this.addAbility(ability);
    }
View Full Code Here

        // Tendo Ice Bridge enters the battlefield with a charge counter on it.
        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1))));
        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {tap}, Remove a charge counter from Tendo Ice Bridge: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)));
        this.addAbility(ability);
    }
View Full Code Here

        Ability ability = new EntersBattlefieldTappedAbility(ruleText);
        ((EntersBattlefieldEffect)ability.getEffects().get(0)).addEffect(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(3)));
        this.addAbility(ability);

        RemoveCountersSourceCost removeCounterCost = new RemoveCountersSourceCost(CounterType.CHARGE.createInstance());
        ability = new AnyColorManaAbility();
        ability.addCost(removeCounterCost);
        this.addAbility(ability);
    }
View Full Code Here

public class Manalith extends CardImpl {

    public Manalith (UUID ownerId) {
        super(ownerId, 212, "Manalith", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "M12";
        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.