Package mage.abilities.mana

Examples of mage.abilities.mana.SimpleManaAbility


        this.expansionSetCode = "MIR";

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {tap}, Sacrifice Crystal Vein: Add {2} to your mana pool.
        SimpleManaAbility ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana(2), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here


    public TarnishedCitadel(UUID ownerId) {
        super(ownerId, 329, "Tarnished Citadel", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        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

    public ShadowbloodRidge(UUID ownerId) {
        super(ownerId, 326, "Shadowblood Ridge", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ODY";

        // {1}, {tap}: Add {B}{R} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(1, 0, 0, 0, 1, 0, 0), new ManaCostsImpl("{1}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // {1}, Sacrifice Dromar's Attendant: Add {W}{U}{B} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(0, 0, 1, 1, 1, 0, 0), new ManaCostsImpl("{1}"));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "RAV";

        // Terrarion enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {2}, {tap}, Sacrifice Terrarion: Add two mana in any combination of colors to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new TerrarionManaEffect(), new GenericManaCost(2));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addChoice(new ChoiceColor());
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);
        // When Terrarion is put into a graveyard from the battlefield, draw a card.
        this.addAbility(new PutIntoGraveFromBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1)));
    }
View Full Code Here

    public KrarkClanIronworks(UUID ownerId) {
        super(ownerId, 134, "Krark-Clan Ironworks", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{4}");
        this.expansionSetCode = "5DN";

        // Sacrifice an artifact: Add {2} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana(2), new SacrificeTargetCost(new TargetControlledPermanent(new FilterControlledArtifactPermanent("an artifact"))));
        this.addAbility(ability);

    }
View Full Code Here

    public ExoticOrchard(UUID ownerId) {
        super(ownerId, 142, "Exotic Orchard", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "CON";

        // {T}: Add to your mana pool one mana of any color that a land an opponent controls could produce.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new ExoticOrchardEffect(), new TapSourceCost()));
    }
View Full Code Here

        // Dimir Aqueduct enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // When Dimir Aqueduct enters the battlefield, return a land you control to its owner's hand.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new ReturnToHandChosenControlledPermanentEffect(filter)));
        // {tap}: Add {U}{B} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(0, 0, 1, 0, 1, 0, 0), new TapSourceCost()));
    }
View Full Code Here

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

        // {tap}: Add to your mana pool one mana of any color that a land an opponent controls could produce.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new SylvokExplorerEffect(), new TapSourceCost()));
    }
View Full Code Here

        this.addAbility(new EntersBattlefieldTappedAbility());
       
        // {tap}, Pay 2 life: Add {1} to your mana pool. If that mana is spent on an instant or sorcery spell, that spell can't be countered by spells or abilities.
        Mana mana = new Mana(0, 0, 0, 0, 0, 1, 0);
        mana.setFlag(true); // used to indicate this mana ability
        SimpleManaAbility ability = new SimpleManaAbility(Zone.BATTLEFIELD, mana, new TapSourceCost());
        ability.addCost(new PayLifeCost(2));
        ability.getEffects().get(0).setText("Add {1} to your mana pool. If that mana is spent on an instant or sorcery spell, that spell can't be countered by spells or abilities");
        this.addAbility(ability);
               
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoseijuWhoSheltersAllCantCounterEffect()));       
        this.addWatcher(new BoseijuWhoSheltersAllWatcher());
    }
View Full Code Here

TOP

Related Classes of mage.abilities.mana.SimpleManaAbility

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.