Package mage.abilities.mana

Examples of mage.abilities.mana.ColorlessManaAbility


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

        // {tap}, Put the top card of your library into your graveyard: Add {1} to your mana pool.
        ColorlessManaAbility ability = new ColorlessManaAbility();
        ability.addCost(new PutTopCardOfYourLibraryToGraveyardCost());
        this.addAbility(ability);
    }
View Full Code Here


    public ContestedCliffs(UUID ownerId) {
        super(ownerId, 314, "Contested Cliffs", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ONS";

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {R}{G}, {tap}: Choose target Beast creature you control and target creature an opponent controls. Those creatures fight each other.
        Effect effect = new FightTargetsEffect();
        effect.setText("Choose target Beast creature you control and target creature an opponent controls. Those creatures fight each other");
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{R}{G}"));
        ability.addCost(new TapSourceCost());
View Full Code Here

public class TectonicEdge extends CardImpl {

    public TectonicEdge(UUID ownerId) {
        super(ownerId, 145, "Tectonic Edge", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "WWK";
        this.addAbility(new ColorlessManaAbility());
        Costs costs = new CostsImpl();
        costs.add(new TapSourceCost());
        costs.add(new SacrificeSourceCost());
        costs.add(new TectonicEdgeCost());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), costs);
View Full Code Here

        // When Seraph Sanctuary enters the battlefield, you gain 1 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(1)));
        // Whenever an Angel enters the battlefield under your control, you gain 1 life.
        this.addAbility(new EntersBattlefieldControlledTriggeredAbility(new GainLifeEffect(1), filter));
        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
    }
View Full Code Here

    public PhyrexiasCore(UUID ownerId) {
        super(ownerId, 165, "Phyrexia's Core", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "NPH";

        this.addAbility(new ColorlessManaAbility());
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(1), new TapSourceCost());
        ability.addCost(new GenericManaCost(1));
        ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(filter)));
        this.addAbility(ability);
    }
View Full Code Here

    public Quicksand(UUID ownerId) {
        super(ownerId, 356, "Quicksand", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "10E";

        this.addAbility(new ColorlessManaAbility());
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new BoostTargetEffect(-1, -2, Duration.EndOfTurn),
                new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent(filter));
        ability.addCost(new SacrificeSourceCost());
View Full Code Here

    public MysticGate(UUID ownerId) {
        super(ownerId, 277, "Mystic Gate", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "SHM";

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {WU}, {tap}: Add {W}{W}, {W}{U}, or {U}{U} to your mana pool.
        SimpleManaAbility ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.WhiteMana(2), new ManaCostsImpl("{W/U}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
View Full Code Here

    public DesolateLighthouse(UUID ownerId) {
        super(ownerId, 227, "Desolate Lighthouse", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "AVR";

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {1}{U}{R}, {tap}: Draw a card, then discard a card.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new DrawDiscardControllerEffect(),
                new ManaCostsImpl("{1}{U}{R}"));
        ability.addCost(new TapSourceCost());
View Full Code Here

    public DarksteelCitadel (UUID ownerId) {
        super(ownerId, 164, "Darksteel Citadel", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.LAND}, null);
        this.expansionSetCode = "DST";
        this.addAbility(IndestructibleAbility.getInstance());
        this.addAbility(new ColorlessManaAbility());
    }
View Full Code Here

    public MishrasFactory(UUID ownerId) {
        super(ownerId, 73, "Mishra's Factory", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "DDF";

        this.addAbility(new ColorlessManaAbility());
        // {1}: Mishra's Factory becomes a 2/2 Assembly-Worker artifact creature until end of turn. It's still a land.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new BecomesCreatureSourceEffect(new AssemblyWorkerToken(), "land", Duration.EndOfTurn),
                new GenericManaCost(1)));
        // {tap}: Target Assembly-Worker creature gets +1/+1 until end of turn.
View Full Code Here

TOP

Related Classes of mage.abilities.mana.ColorlessManaAbility

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.