Examples of PayLifeCost


Examples of mage.abilities.costs.common.PayLifeCost

       
        // {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

Examples of mage.abilities.costs.common.PayLifeCost

        this.color.setGreen(true);
        this.subtype.add("Zombie");
        this.subtype.add("Leech");
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        this.addAbility(new LimitedTimesPerTurnActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2, 2, Duration.EndOfTurn), new PayLifeCost(2)));
    }
View Full Code Here

Examples of mage.abilities.costs.common.PayLifeCost

        // Whenever you discard a card, exile that card from your graveyard.
        Effect effect = new ExileTargetEffect(null, "", Zone.GRAVEYARD);
        effect.setText("exile that card from your graveyard");
        this.addAbility(new NecropotenceTriggeredAbility(effect));
        // Pay 1 life: Exile the top card of your library face down. Put that card into your hand at the beginning of your next end step.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new NecropotenceEffect(), new PayLifeCost(1)));
       
    }
View Full Code Here

Examples of mage.abilities.costs.common.PayLifeCost

    public MartyrsTomb(UUID ownerId) {
        super(ownerId, 110, "Martyrs' Tomb", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, "{2}{W}{B}");
        this.expansionSetCode = "APC";
        this.color.setBlack(true);
        this.color.setWhite(true);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new PayLifeCost(2));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.PayLifeCost

    public GlacialChasm(UUID ownerId) {
        super(ownerId, 331, "Glacial Chasm", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ICE";

        // Cumulative upkeep-Pay 2 life.
        this.addAbility(new CumulativeUpkeepAbility(new PayLifeCost(2)));
        // When Glacial Chasm enters the battlefield, sacrifice a land.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SacrificeControllerEffect(new FilterLandPermanent(), 1, "")));
        // Creatures you control can't attack.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantAttackEffect()));
        // Prevent all damage that would be dealt to you.
View Full Code Here

Examples of mage.abilities.costs.common.PayLifeCost

        this.color.setBlack(true);

        // {B}, Pay 2 life: Draw a card.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new ManaCostsImpl("{B}"));
        ability.addCost(new PayLifeCost(2));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.PayLifeCost

        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.costs.common.PayLifeCost

        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

Examples of mage.abilities.costs.common.PayLifeCost

        this.addAbility(FlashAbility.getInstance());
        this.addAbility(FlyingAbility.getInstance());
       
        // {U}{B}, Pay 1 life: Return Wydwen, the Biting Gale to its owner's hand.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(true), new ManaCostsImpl("{U}{B}"));
        ability.addCost(new PayLifeCost(1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.PayLifeCost

        this.subtype.add("Forest");

        this.addAbility(new BlackManaAbility());
        this.addAbility(new GreenManaAbility());

        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.