Examples of BasicManaEffect


Examples of mage.abilities.effects.common.BasicManaEffect

        // Geothermal Crevice enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {R} to your mana pool.
        this.addAbility(new RedManaAbility());
        // {tap}, Sacrifice Geothermal Crevice: Add {B}{G} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(new Mana(0, 1, 0, 0, 1, 0, 0)), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

    public DarkRitual(UUID ownerId) {
        super(ownerId, 24, "Dark Ritual", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{B}");
        this.expansionSetCode = "HOP";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new BasicManaEffect(new Mana(0, 0, 0, 0, 3, 0, 0)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        // Svyelunite Temple enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {U} to your mana pool.
        this.addAbility(new BlueManaAbility());
        // {tap}, Sacrifice Svyelunite Temple: Add {U}{U} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.BlueMana(2)), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        // Dwarven Ruins enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {R} to your mana pool.
        this.addAbility(new RedManaAbility());
        // {tap}, Sacrifice Dwarven Ruins: Add {R}{R} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.RedMana(2)), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        // Ruins of Trokair enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {W} to your mana pool.
        this.addAbility(new WhiteManaAbility());
        // {tap}, Sacrifice Ruins of Trokair: Add {W}{W} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.WhiteMana(2)), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        // Ebon Stronghold enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // {tap}: Add {B} to your mana pool.
        this.addAbility(new BlackManaAbility());
        // {tap}, Sacrifice Ebon Stronghold: Add {B}{B} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.BlackMana(2)), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        this.addAbility(new ColorlessManaAbility());

        // {tap}: Add {W} or {B} to your mana pool. Activate this ability only if you control a Swamp.
        this.addAbility(new ActivateIfConditionManaAbility(
                Zone.BATTLEFIELD,
                new BasicManaEffect(Mana.WhiteMana),
                new TapSourceCost(),
                new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0)));
        this.addAbility(new ActivateIfConditionManaAbility(
                Zone.BATTLEFIELD,
                new BasicManaEffect(Mana.BlackMana),
                new TapSourceCost(),
                new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        this.color.setRed(true);

        // Destroy target land. Add {R}{R} to your mana pool.
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetLandPermanent());
        this.getSpellAbility().addEffect(new BasicManaEffect(new Mana(2, 0, 0, 0, 0, 0, 0)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

}

class MyrReservoirManaAbility extends BasicManaAbility {

    MyrReservoirManaAbility() {
        super(new BasicManaEffect(new MyrConditionalMana()));
        this.netMana.setColorless(2);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

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

        this.addAbility(new EntersBattlefieldTriggeredAbility(new BasicManaEffect(Mana.BlackMana(3))));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.