Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ExileCardFromOwnGraveyardControllerEffect


        Condition thresholdCondition = new CardsInControllerGraveCondition(7);
        // Threshold - As long as seven or more cards are in your graveyard, Bloodcurdler gets +1/+1 and has "At the beginning of your end step, exile two cards from your graveyard."
        Ability thresholdAbility = new SimpleStaticAbility(Zone.BATTLEFIELD,
                new ConditionalContinousEffect(new BoostSourceEffect(1, 1, Duration.WhileOnBattlefield), thresholdCondition,
                    "<i>Threshold</i> - If seven or more cards are in your graveyard, {this} gets +1/+1"));
        ContinuousEffect effect = new GainAbilitySourceEffect(new BeginningOfEndStepTriggeredAbility(new ExileCardFromOwnGraveyardControllerEffect(2), TargetController.YOU, false));
        thresholdAbility.addEffect(new ConditionalContinousEffect(effect, thresholdCondition,
                "and has \"At the beginning of your end step, exile two cards from your graveyard.\""));
        this.addAbility(thresholdAbility);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.ExileCardFromOwnGraveyardControllerEffect

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.