Examples of ExileGraveyardAllTargetPlayerEffect


Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

        this.getSpellAbility().addAlternativeCost(
                new RavenousTrapAlternativeCost());
        this.addWatcher(new CardsPutIntoGraveyardWatcher());

        // Exile all cards from target player's graveyard.
        this.getSpellAbility().addEffect(new ExileGraveyardAllTargetPlayerEffect());
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

    public NihilSpellbomb(UUID ownerId) {
        super(ownerId, 187, "Nihil Spellbomb", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "SOM";

        // {T}, Sacrifice Nihil Spellbomb: Exile all cards from target player's graveyard.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileGraveyardAllTargetPlayerEffect(), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        // When Nihil Spellbomb is put into a graveyard from the battlefield, you may pay {B}. If you do, draw a card.
        this.addAbility(new DiesTriggeredAbility(new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new ManaCostsImpl("{B}")), false));
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

        this.color.setRed(true);
        this.color.setGreen(true);
        this.color.setBlack(true);

        // Choose one - Exile all cards from target player's graveyard;
        this.getSpellAbility().addEffect(new ExileGraveyardAllTargetPlayerEffect());
        this.getSpellAbility().addTarget(new TargetPlayer());
        // or Jund Charm deals 2 damage to each creature;
        Mode mode = new Mode();
        mode.getEffects().add(new DamageAllEffect(2, new FilterCreaturePermanent()));
        this.getSpellAbility().addMode(mode);
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

}

class BurnAwayDelayedTriggeredAbility extends DelayedTriggeredAbility {

    public BurnAwayDelayedTriggeredAbility() {
        super(new ExileGraveyardAllTargetPlayerEffect(), Duration.EndOfTurn, false);
    }
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

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

        // Constellation - Whenever Agent of Erebos or another enchantment enters the battlefield under your control, exile all cards from target player's graveyard.
        Ability ability = new ConstellationAbility(new ExileGraveyardAllTargetPlayerEffect(), false);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

        this.expansionSetCode = "WWK";

        // Bojuka Bog enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // When Bojuka Bog enters the battlefield, exile all cards from target player's graveyard.
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new ExileGraveyardAllTargetPlayerEffect());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        // {T}: Add {B} to your mana pool.
        this.addAbility(new BlackManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

        this.color.setBlack(true);
        this.color.setRed(true);

        // Choose one — Exile all cards from target player's graveyard;
        this.getSpellAbility().addEffect(new ExileGraveyardAllTargetPlayerEffect());
        this.getSpellAbility().addTarget(new TargetPlayer());

        // or destroy target artifact;
        Mode mode = new Mode();
        mode.getEffects().add(new DestroyTargetEffect());
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

        this.toughness = new MageInt(4);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Angel of Finality enters the battlefield, exile all cards from target player's graveyard.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ExileGraveyardAllTargetPlayerEffect());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect

    public TormodsCrypt(UUID ownerId) {
        super(ownerId, 115, "Tormod's Crypt", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{0}");
        this.expansionSetCode = "TSB";

        // {tap}, Sacrifice Tormod's Crypt: Exile all cards from target player's graveyard.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileGraveyardAllTargetPlayerEffect(), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetPlayer());
        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.