Package mage.abilities.mana

Examples of mage.abilities.mana.AnyColorManaAbility


        effect.addEffect(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(2)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
        // {tap}: Add {R} to your mana pool.
        this.addAbility(new RedManaAbility());
        // {tap}, Remove a charge counter from Vivid Crag: 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


    public SpringleafDrum(UUID ownerId) {
        super(ownerId, 261, "Springleaf Drum", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "LRW";
        // {T}, Tap an untapped creature you control: Add one mana of any color to your mana pool.
        Ability ability = new AnyColorManaAbility();
        ability.addCost(new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, false)));
        this.addAbility(ability);
    }
View Full Code Here

    public ManaCylix(UUID ownerId) {
        super(ownerId, 138, "Mana Cylix", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "CON";

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

        this.expansionSetCode = "THS";

        // {T}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {1}, {T}: 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

        // Timberland Ruins enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {G} to your mana pool.
        this.addAbility(new GreenManaAbility());
        // {tap}, Sacrifice Timberland Ruins: 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

        this.subtype.add("Human");
        this.subtype.add("Wizard");
        this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        Ability firstAbility = new AnyColorManaAbility(new ColoredManaCost(ColoredManaSymbol.G));
        firstAbility.addCost(new TapSourceCost());
        this.addAbility(firstAbility);
        Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new ColoredManaCost(ColoredManaSymbol.W));
        secondAbility.addCost(new TapSourceCost());
        secondAbility.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(secondAbility);
View Full Code Here

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

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

        this.toughness = new MageInt(1);
        Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(2, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R));
        firstAbility.addCost(new TapSourceCost());
        firstAbility.addTarget(new TargetCreaturePermanent());
        this.addAbility(firstAbility);
        Ability secondAbility = new AnyColorManaAbility(new ColoredManaCost(ColoredManaSymbol.G));
        secondAbility.addCost(new TapSourceCost());
        this.addAbility(secondAbility);
    }
View Full Code Here

        this.subtype.add("Soldier");
        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(2);
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new AnyColorManaAbility(new GenericManaCost(1));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        // At the beginning of the end step, if you control no creatures, sacrifice Thran Quarry.
        this.addAbility(new ThranQuarryTriggeredAbility());

        // {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.