Package mage.abilities.mana

Examples of mage.abilities.mana.RedManaAbility


    public ObeliskOfGrixis (UUID ownerId) {
        super(ownerId, 214, "Obelisk of Grixis", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "ALA";
        this.addAbility(new BlueManaAbility());
        this.addAbility(new BlackManaAbility());
        this.addAbility(new RedManaAbility());
    }
View Full Code Here


        super(ownerId, 143, "Rakdos Cluestone", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "DGM";

        // {T}: Add {B} or {R} to your mana pool.
        this.addAbility(new BlackManaAbility());
        this.addAbility(new RedManaAbility());

        // {B}{R}, {T}, Sacrifice Rakdos Cluestone: Draw a card.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new ManaCostsImpl("{B}{R}"));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
View Full Code Here

    public CrumblingNecropolis(UUID ownerId) {
        super(ownerId, 222, "Crumbling Necropolis", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "ALA";
        this.addAbility(new EntersBattlefieldTappedAbility());
        this.addAbility(new RedManaAbility());
        this.addAbility(new BlueManaAbility());
        this.addAbility(new BlackManaAbility());
    }
View Full Code Here

    public boolean apply(Layer layer, SubLayer sublayer, Ability source, Game game) {
        for (Permanent land: game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game)) {
            switch (layer) {
                case AbilityAddingRemovingEffects_6:
                    land.removeAllAbilities(source.getSourceId(), game);
                    land.addAbility(new RedManaAbility(), source.getSourceId(), game);
                    break;
                case TypeChangingEffects_4:
                    land.getSubtype().clear();
                    land.getSubtype().add("Mountain");
                    break;
View Full Code Here

        Condition controls = new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.FEWER_THAN, 4));
        String abilityText = "tapped unless you control fewer than 3 lands";
        this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new TapSourceEffect(), controls, abilityText), abilityText));
        this.addAbility(new BlackManaAbility());
        this.addAbility(new RedManaAbility());
    }
View Full Code Here

    public BorosCluestone(UUID ownerId) {
        super(ownerId, 137, "Boros Cluestone", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "DGM";

        // {T}: Add {R} or {W} to your mana pool.
        this.addAbility(new RedManaAbility());
        this.addAbility(new WhiteManaAbility());

        // {R}{W}, {T}, Sacrifice Boros Cluestone: Draw a card.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new ManaCostsImpl("{R}{W}"));
        ability.addCost(new TapSourceCost());
View Full Code Here

        super(ownerId, 171, "Blood Crypt", Rarity.RARE, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "DIS";
        this.subtype.add("Swamp");
        this.subtype.add("Mountain");
        this.addAbility(new BlackManaAbility());
        this.addAbility(new RedManaAbility());
        this.addAbility(new AsEntersBattlefieldAbility(new TapSourceUnlessPaysEffect(new PayLifeCost(2)), "you may pay 2 life. If you don't, {this} enters the battlefield tapped"));
    }
View Full Code Here

        // Temple of Abandon enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // When Temple of Abandon enters the battlefield, scry 1.</i>
        this.addAbility(new EntersBattlefieldTriggeredAbility(new ScryEffect(1)));
        // {T}: Add {R} or {G} to your mana pool.
        this.addAbility(new RedManaAbility());
        this.addAbility(new GreenManaAbility());
    }
View Full Code Here

    public SmolderingCrater(UUID ownerId) {
        super(ownerId, 328, "Smoldering Crater", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "USG";

        this.addAbility(new EntersBattlefieldTappedAbility());
        this.addAbility(new RedManaAbility());
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        super(ownerId, 230, "Izzet Keyrune", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "RTR";

        // {T}: Add {U} or {R} to your mana pool.
        this.addAbility(new BlueManaAbility());
        this.addAbility(new RedManaAbility());

        // {U}{R}: Until end of turn, Izzet Keyrune becomes a 2/1 blue and red Elemental artifact creature.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new IzzetKeyruneToken(), "", Duration.EndOfTurn), new ManaCostsImpl("{U}{R}")));

        // Whenever Izzet Keyrune deals combat damage to a player, you may draw a card. If you do, discard a card.
View Full Code Here

TOP

Related Classes of mage.abilities.mana.RedManaAbility

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.