Examples of ExileFromGraveCost


Examples of mage.abilities.costs.common.ExileFromGraveCost

        this.toughness = new MageInt(4);

        this.addAbility(FlyingAbility.getInstance());

        // As an additional cost to cast Stitched Drake, exile a creature card from your graveyard.
        this.getSpellAbility().addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(new FilterCreatureCard("creature card from your graveyard"))));
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

        this.expansionSetCode = "ISD";

        this.color.setBlack(true);

        // As an additional cost to cast Corpse Lunge, exile a creature card from your graveyard.
        this.getSpellAbility().addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(new FilterCreatureCard("creature card from your graveyard"))));
        // Corpse Lunge deals damage equal to the exiled card's power to target creature.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new CorpseLungeEffect());

    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

class IchoridTriggerdAbility extends BeginningOfUpkeepTriggeredAbility{

    public IchoridTriggerdAbility(FilterCard filter){
        super(Zone.GRAVEYARD,
                new DoIfCostPaid(new ReturnSourceFromGraveyardToBattlefieldEffect(), new ExileFromGraveCost(new TargetCardInYourGraveyard(filter))),
                TargetController.YOU, false);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

        this.color.setGreen(true);

        // {1}, Exile two creature cards from a single graveyard: Put a 1/1 green Saproling creature token onto the battlefield.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SaprolingToken()), new GenericManaCost(1));
        ability.addCost(new ExileFromGraveCost(new TargetCardInASingleGraveyard(2,2, new FilterCreatureCard("two creature cards from a single graveyard"))));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

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

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ColoredManaCost(ColoredManaSymbol.R));
        ability.addCost(new TapSourceCost());
        ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(2, new FilterCard("cards from your graveyard"))));
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

        this.color.setGreen(true);

        // {1}{G}, Exile two cards from your graveyard: Put a 2/2 green Bear creature token onto the battlefield.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new BearToken()), new ManaCostsImpl("{1}{G}"));
        ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(2, new FilterCard("cards from your graveyard"))));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

        // You may sacrifice three artifacts rather than pay Salvage Titan's mana cost.
        this.addAbility(new AlternativeCostSourceAbility(new SacrificeTargetCost(new TargetControlledPermanent(3, 3, new FilterControlledArtifactPermanent(), true))));

        // Exile three artifact cards from your graveyard: Return Salvage Titan from your graveyard to your hand.
        this.addAbility(new SimpleActivatedAbility(Zone.GRAVEYARD, new ReturnSourceFromGraveyardToHandEffect(), new ExileFromGraveCost(new TargetCardInYourGraveyard(3, new FilterArtifactCard()))));
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

        this.color.setBlue(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(6);

        // As an additional cost to cast Headless Skaab, exile a creature card from your graveyard.
        this.getSpellAbility().addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(new FilterCreatureCard("creature card from your graveyard"))));
        // Headless Skaab enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

      ability1.addTarget(new TargetCreaturePermanent());
      this.addAbility(ability1);
       
        // {2}{B}, Exile a creature card from your graveyard: Target creature gets -2/-2 until end of turn.
      Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-2, -2, Duration.EndOfTurn), new ManaCostsImpl("{2}{B}"));
      ability2.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(new FilterCreatureCard("a creature card"))));
      ability2.addTarget(new TargetCreaturePermanent());
      this.addAbility(ability2);
    }
View Full Code Here

Examples of mage.abilities.costs.common.ExileFromGraveCost

        // {tap}, Exile two cards from your graveyard and Zombie Assassin: Destroy target nonblack creature. It can't be regenerated.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(true), new TapSourceCost());
        Target target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(2,2,new FilterCard("cards from your graveyard"))));
        ability.addCost(new ExileSourceCost());
        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.