Examples of ExileSourceFromGraveCost


Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

public class ScavengeAbility extends ActivatedAbilityImpl {

    public ScavengeAbility(ManaCosts costs) {
        super(Zone.GRAVEYARD, new ScavengeEffect(), costs);
        this.timing = TimingRule.SORCERY;
        this.addCost(new ExileSourceFromGraveCost());
        this.addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        ability.addEffect(effect3);
        this.addAbility(ability);

        // {4}{W}{W}, Exile Soul of Theros from your graveyard: Creatures you control get +2/+2 and gain first strike and lifelink until end of turn.
        ability = new SimpleActivatedAbility(Zone.GRAVEYARD, effect1, new ManaCostsImpl("{4}{W}{W}"));
        ability.addCost(new ExileSourceFromGraveCost());
        ability.addEffect(effect2);
        ability.addEffect(effect3);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        // {5}{U}{U}: Draw a card for each color among permanents you control.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new SoulOfRavnicaEffect(), new ManaCostsImpl("{5}{U}{U}")));

        // {5}{U}{U}, Exile Soul of Ravnica from your graveyard: Draw a card for each color among permanents you control.
        Ability ability = new SimpleActivatedAbility(Zone.GRAVEYARD, new SoulOfRavnicaEffect(), new ManaCostsImpl("{5}{U}{U}"));
        ability.addCost(new ExileSourceFromGraveCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        this.addAbility(TrampleAbility.getInstance());
        // {5}: Permanents you control gain indestructible until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn), new GenericManaCost(5)));
        // {5}, Exile Soul of New Phyrexia from your graveyard: Permanents you control gain indestructible until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.GRAVEYARD, new GainAbilityControlledEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn), new GenericManaCost(5));
        ability.addCost(new ExileSourceFromGraveCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        ability.addTarget(new SoulOfShandalarTarget());
        this.addAbility(ability);

        // {3}{R}{R}, Exile Soul of Shandalar from your graveyard: Soul of Shandalar deals 3 damage to target player and 3 damage to up to one target creature that player controls.
        ability = new SimpleActivatedAbility(Zone.GRAVEYARD, new SoulOfShandalarEffect(), new ManaCostsImpl("{3}{R}{R}"));
        ability.addCost(new ExileSourceFromGraveCost());
        ability.addTarget(new TargetPlayer());
        ability.addTarget(new SoulOfShandalarTarget());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        ability.addTarget(new TargetCardInYourGraveyard(0, 3, new FilterCreatureCard("creature cards from your graveyard")));
        this.addAbility(ability);

        // {3}{B}{B}, Exile Soul of Innistrad from your graveyard: Return up to three target creature cards from your graveyard to your hand.
        ability = new SimpleActivatedAbility(Zone.GRAVEYARD, new ReturnFromGraveyardToHandTargetEffect(), new ManaCostsImpl("{3}{B}{B}"));
        ability.addCost(new ExileSourceFromGraveCost());
        ability.addTarget(new TargetCardInYourGraveyard(0, 3, new FilterCreatureCard("creature cards from your graveyard")));
        this.addAbility(ability)

    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        this.addAbility(ReachAbility.getInstance());
        // {3}{G}{G}: Put a 3/3 green Beast creature token onto the battlefield.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new BeastToken("M15")), new ManaCostsImpl("{3}{G}{G}")));
        // {3}{G}{G}, Exile Soul of Zendikar from your graveyard: Put a 3/3 green Beast creature token onto the battlefield.
        Ability ability = new SimpleActivatedAbility(Zone.GRAVEYARD, new CreateTokenEffect(new BeastToken("M15"))new ManaCostsImpl("{3}{G}{G}"));
        ability.addCost(new ExileSourceFromGraveCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        this.color.setGreen(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);

        // When Iname, Life Aspect dies, you may exile it. If you do, return any number of target Spirit cards from your graveyard to your hand.
        Ability ability = new DiesTriggeredAbility(new DoIfCostPaid(new ReturnToHandTargetEffect(), new ExileSourceFromGraveCost(), "Exile to return Spirit cards?"), false);
        ability.addTarget(new TargetCardInYourGraveyard(0, Integer.MAX_VALUE, filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileSourceFromGraveCost

        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(2);

        // When Academy Rector dies, you may exile it. If you do, search your library for an enchantment card, put that card onto the battlefield, then shuffle your library.
        Ability ability = new DiesTriggeredAbility(new DoIfCostPaid(new AcademyRectorEffect(), new ExileSourceFromGraveCost(), "Exile to search enchantment?"), false);
        this.addAbility(ability);
    }
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.