Package mage.abilities.common

Examples of mage.abilities.common.EntersBattlefieldTriggeredAbility.addCost()


        this.expansionSetCode = "SOM";
        Ability ability = new EntersBattlefieldTriggeredAbility(new ContagionEngineEffect());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ProliferateEffect(), new GenericManaCost(4));
        ability.addCost(new TapSourceCost());
        ability.addEffect(new ProliferateEffect());
        this.addAbility(ability);
    }

    public ContagionEngine (final ContagionEngine card) {
View Full Code Here


        this.addAbility(ability);

        /* {4}, {T}: Proliferate. (You choose any number of permanents and/or players
         * with counters on them, then give each another counter of a kind already there.) */
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ProliferateEffect(), new GenericManaCost(4));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }

    public ContagionClasp (final ContagionClasp card) {
        super(card);
View Full Code Here

        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
       
        // {1}, Sacrifice a creature: Exile Ghost Council of Orzhova. Return it to the battlefield under its owner's control at the beginning of the next end step.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GhostCouncilOfOrzhovaRemovingEffect(), new GenericManaCost(1));
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        this.addAbility(ability);
    }

    public GhostCouncilOfOrzhova (final GhostCouncilOfOrzhova card) {
        super(card);
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.