Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ExileTargetEffect


        // When Stonecloaker enters the battlefield, return a creature you control to its owner's hand.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), false);
        ability.addTarget(new TargetControlledCreaturePermanent());
        this.addAbility(ability);
        // When Stonecloaker enters the battlefield, exile target card from a graveyard.
        ability = new EntersBattlefieldTriggeredAbility(new ExileTargetEffect(), false);
        ability.addTarget(new TargetCardInGraveyard());
        this.addAbility(ability);
    }
View Full Code Here


    public CelestialPurge(UUID ownerId) {
        super(ownerId, 5, "Celestial Purge", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{W}");
        this.expansionSetCode = "CON";
        this.color.setWhite(true);
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
        this.getSpellAbility().addEffect(new ExileTargetEffect());
    }
View Full Code Here

        this.color.setWhite(true);

        // Exile target creature, then populate.
        // (Put a token onto the battlefield that's a copy of a creature token you control.)
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new PopulateEffect("then"));
    }
View Full Code Here

    public RevokeExistence (UUID ownerId) {
        super(ownerId, 18, "Revoke Existence", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{1}{W}");
        this.expansionSetCode = "SOM";
        this.color.setWhite(true);
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Whenever Krond the Dawn-Clad attacks, if it's enchanted, exile target permanent.
        Ability ability = new ConditionalTriggeredAbility(
                new AttacksTriggeredAbility(new ExileTargetEffect(), false),
                new EnchantedCondition(),
                "Whenever Krond the Dawn-Clad attacks, if it's enchanted, exile target permanent.");
        ability.addTarget(new TargetPermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setWhite(true);

        // Convoke
        this.addAbility(new ConvokeAbility());
        // Exile target attacking or blocking creature.
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
    }
View Full Code Here

        this.toughness = new MageInt(1);
        this.flipCard = true;
        this.flipCardName = "Nighteyes The Desecrator";

        // {1}{B}: Exile target card from an opponent's graveyard. If no cards are in that graveyard, flip Nezumi Graverobber.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new ManaCostsImpl("{1}{B}"));
        Target target = new TargetCardInOpponentsGraveyard(new FilterCard("card from an opponent's graveyard"));
        ability.addTarget(target);
        ability.addEffect(new NezumiGraverobberFlipEffect());
        this.addAbility(ability);
    }
View Full Code Here

    }

    @Override
    public void build() {
        // Exile target enchantment.
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
    }
View Full Code Here

        this.expansionSetCode = "THS";

        this.color.setGreen(true);

        // Exile target artifact or enchantment.
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        Target target = new TargetPermanent(filter);
        this.getSpellAbility().addTarget(target);
    }
View Full Code Here

        this.expansionSetCode = "C13";

        this.color.setWhite(true);

        // When Act of Authority enters the battlefield, you may exile target artifact or enchantment.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ExileTargetEffect(), true);
        ability.addTarget(new TargetPermanent(filter));
        this.addAbility(ability);
        // At the beginning of your upkeep, you may exile target artifact or enchantment. If you do, its controller gains control of Act of Authority.
        ability = new BeginningOfUpkeepTriggeredAbility(new ActOfAuthorityEffect(), TargetController.YOU, true);
        ability.addTarget(new TargetPermanent(filter));
View Full Code Here

TOP

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

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.