Examples of AsEntersBattlefieldAbility


Examples of mage.abilities.common.AsEntersBattlefieldAbility

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

        // As Arsenal Thresher enters the battlefield, you may reveal any number of other artifact cards from your hand. Arsenal Thresher enters the battlefield with a +1/+1 counter on it for each card revealed this way.
        this.addAbility(new AsEntersBattlefieldAbility(new ArsenalThresherEffect(), "you may reveal any number of other artifact cards from your hand. {this} enters the battlefield with a +1/+1 counter on it for each card revealed this way"));
    }
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

    public AuntiesHovel(UUID ownerId) {
        super(ownerId, 267, "Auntie's Hovel", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "LRW";

        // As Auntie's Hovel enters the battlefield, you may reveal a Goblin card from your hand. If you don't, Auntie's Hovel enters the battlefield tapped.
        this.addAbility(new AsEntersBattlefieldAbility(new TapSourceUnlessPaysEffect(new RevealTargetFromHandCost(new TargetCardInHand(filter))), "you may reveal a Goblin card from your hand. If you don't, {this} enters the battlefield tapped"));
        // {tap}: Add {B} or {R} to your mana pool.
        this.addAbility(new BlackManaAbility());
        this.addAbility(new RedManaAbility());
    }
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

        this.expansionSetCode = "RAV";
        this.subtype.add("Mountain");
        this.subtype.add("Plains");
        this.addAbility(new RedManaAbility());
        this.addAbility(new WhiteManaAbility());
        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

Examples of mage.abilities.common.AsEntersBattlefieldAbility

        this.subtype.add("Zombie");
        this.color.setBlack(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);

        this.addAbility(new AsEntersBattlefieldAbility(new PhylacteryLichEffect(), "put a phylactery counter on an artifact you control"));
        this.addAbility(IndestructibleAbility.getInstance());
        this.addAbility(new PhylacteryLichAbility());
    }
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

        this.expansionSetCode = "GPT";
        this.subtype.add("Island");
        this.subtype.add("Mountain");
        this.addAbility(new BlueManaAbility());
        this.addAbility(new RedManaAbility());
        this.addAbility(new AsEntersBattlefieldAbility(new TapSourceUnlessPaysEffect(new PayLifeCost(2)), "you may pay 2 life. If you don't, Steam Vents enters the battlefield tapped"));
    }
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        // As Utopia Sprawl enters the battlefield, choose a color.
        this.addAbility(new AsEntersBattlefieldAbility(new ChooseColorEffect()));
        // Whenever enchanted Forest is tapped for mana, its controller adds one mana of the chosen color to his or her mana pool.
        this.addAbility(new UtopiaSprawlTriggeredAbility());
    }
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

        // Enchant land
        TargetPermanent auraTarget = new TargetLandPermanent();
        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
        // As Convincing Mirage enters the battlefield, choose a basic land type.
        this.addAbility(new AsEntersBattlefieldAbility(new ConvincingMirageEffect()));
        // Enchanted land is the chosen type.
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConvincingMirageContinousEffect()));
    }
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

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

        // As Sewer Nemesis enters the battlefield, choose a player.
        this.addAbility(new AsEntersBattlefieldAbility(new SewerNemesisChoosePlayerEffect()));
        // Sewer Nemesis's power and toughness are each equal to the number of cards in the chosen player's graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new CardsInTargetOpponentsGraveyardCount(), Duration.WhileOnBattlefield)));
        // Whenever the chosen player casts a spell, that player puts the top card of his or her library into his or her graveyard.
        this.addAbility(new SewerNemesisTriggeredAbility());
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

        this.expansionSetCode = "ULG";

        this.color.setBlack(true);

        // As Engineered Plague enters the battlefield, choose a creature type.
        this.addAbility(new AsEntersBattlefieldAbility(new ChooseCreatureTypeEffect(Outcome.UnboostCreature)));
        // All creatures of the chosen type get -1/-1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostAllEffect(-1, -1, Duration.WhileOnBattlefield, new FilterEngineeredPlague(), false)));
    }
View Full Code Here

Examples of mage.abilities.common.AsEntersBattlefieldAbility

        this.expansionSetCode = "RAV";
        this.subtype.add("Island");
        this.subtype.add("Swamp");
        this.addAbility(new BlueManaAbility());
        this.addAbility(new BlackManaAbility());
        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
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.