Package mage.abilities.costs.common

Examples of mage.abilities.costs.common.GainLifeOpponentCost


        // If you control a Forest, each blocked creature gets +2/+2 until end of turn.
        this.getSpellAbility().addEffect(new RoarOfJukaiEffect());

        // Splice onto Arcane-An opponent gains 5 life.
        this.addAbility(new SpliceOntoArcaneAbility(new GainLifeOpponentCost(5)));
    }
View Full Code Here


        this.expansionSetCode = "CMD";

        this.color.setGreen(true);

        // If you control a Forest, rather than pay Invigorate's mana cost, you may have an opponent gain 3 life.
        this.addAbility(new AlternativeCostSourceAbility(new GainLifeOpponentCost(3), new PermanentsOnTheBattlefieldCondition(filter)));   
        // Target creature gets +4/+4 until end of turn.
        this.getSpellAbility().addEffect(new BoostTargetEffect(4,4,Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

TOP

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

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.