Package mage.abilities.costs.common

Examples of mage.abilities.costs.common.PayLifeCost


        this.expansionSetCode = "SCG";

        this.color.setBlack(true);

        // Pay 3 life: Put a +1/+1 counter on target creature.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.P1P1.createInstance()), new PayLifeCost(3));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here


        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // {tap}, Pay 1 life: Counter target white spell.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new TapSourceCost());
        ability.addCost(new PayLifeCost(1));
        ability.addTarget(new TargetSpell(filter));
        this.addAbility(ability);
    }
View Full Code Here

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

        this.expansionSetCode = "GPT";
        this.subtype.add("Plains");
        this.subtype.add("Swamp");
        this.addAbility(new WhiteManaAbility());
        this.addAbility(new BlackManaAbility());
        this.addAbility(new AsEntersBattlefieldAbility(new TapSourceUnlessPaysEffect(new PayLifeCost(2)), "you may pay 2 life. If you don't, Godless Shrine enters the battlefield tapped"));
    }
View Full Code Here

        // Your opponents can't gain life.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new OpponentsCantGainLifeEffect()));

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

    }
View Full Code Here

        // {tap}, Pay 1 life: Counter target black spell.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new mage.abilities.effects.common.CounterTargetEffect(),
                new TapSourceCost());
        ability.addCost(new PayLifeCost(1));
        ability.addTarget(new TargetSpell(filter));
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.costs.common.PayLifeCost

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.