Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.EnterBattlefieldPayCostOrPutGraveyardEffect


    public HeartOfYavimaya(UUID ownerId) {
        super(ownerId, 183, "Heart of Yavimaya", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ALL";

        // If Heart of Yavimaya would enter the battlefield, sacrifice a Forest instead. If you do, put Heart of Yavimaya onto the battlefield. If you don't, put it into its owner's graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new EnterBattlefieldPayCostOrPutGraveyardEffect(new SacrificeTargetCost(new TargetControlledPermanent(filter)))));

        // {tap}: Add {G} to your mana pool.
        this.addAbility(new GreenManaAbility());
       
        // {tap}: Target creature gets +1/+1 until end of turn.
View Full Code Here


    public BalduvianTradingPost(UUID ownerId) {
        super(ownerId, 182, "Balduvian Trading Post", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ALL";

        // If Balduvian Trading Post would enter the battlefield, sacrifice an untapped Mountain instead. If you do, put Balduvian Trading Post onto the battlefield. If you don't, put it into its owner's graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new EnterBattlefieldPayCostOrPutGraveyardEffect(new SacrificeTargetCost(new TargetControlledPermanent(filter)))));

        // {tap}: Add {1}{R} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(1, 0, 0, 0, 0, 1,0 ), new TapSourceCost()));

        // {1}, {tap}: Balduvian Trading Post deals 1 damage to target attacking creature.
View Full Code Here

    public KjeldoranOutpost(UUID ownerId) {
        super(ownerId, 301, "Kjeldoran Outpost", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "VMA";

        // If Kjeldoran Outpost would enter the battlefield, sacrifice a Plains instead. If you do, put Kjeldoran Outpost onto the battlefield. If you don't, put it into its owner's graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new EnterBattlefieldPayCostOrPutGraveyardEffect(new SacrificeTargetCost(new TargetControlledPermanent(filter)))));
        // {tap}: Add {W} to your mana pool.
        this.addAbility(new WhiteManaAbility());
        // {1}{W}, {tap}: Put a 1/1 white Soldier creature token onto the battlefield.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SoldierToken()), new ManaCostsImpl("{1}{W}"));
        ability.addCost(new TapSourceCost());
View Full Code Here

    public SoldeviExcavations(UUID ownerId) {
        super(ownerId, 188, "Soldevi Excavations", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ALL";

        // If Soldevi Excavations would enter the battlefield, sacrifice an untapped Island instead. If you do, put Soldevi Excavations onto the battlefield. If you don't, put it into its owner's graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new EnterBattlefieldPayCostOrPutGraveyardEffect(new SacrificeTargetCost(new TargetControlledPermanent(filter)))));

        // {tap}: Add {1}{U} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(0, 0, 1, 0, 0, 1,0 ), new TapSourceCost()));
        // {1}, {tap}: Look at the top card of your library. You may put that card on the bottom of your library.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LookLibraryMayPutToBottomEffect(), new GenericManaCost(1));
View Full Code Here

    public LakeOfTheDead(UUID ownerId) {
        super(ownerId, 302, "Lake of the Dead", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "VMA";

        // If Lake of the Dead would enter the battlefield, sacrifice a Swamp instead. If you do, put Lake of the Dead onto the battlefield. If you don't, put it into its owner's graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new EnterBattlefieldPayCostOrPutGraveyardEffect(new SacrificeTargetCost(new TargetControlledPermanent(filter)))));
        // {tap}: Add {B} to your mana pool.
        this.addAbility(new BlackManaAbility());

        // {tap}, Sacrifice a Swamp: Add {B}{B}{B}{B} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(0, 0, 0, 0, 4, 0, 0), new TapSourceCost());
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.EnterBattlefieldPayCostOrPutGraveyardEffect

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.