Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect


        this.color.setBlue(true);

        // Return target exiled card with flashback you own to your hand.
        TargetCardInExile target = new TargetCardInExile(filter, null);
        this.getSpellAbility().addTarget(target);
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
    }
View Full Code Here


        this.expansionSetCode = "KTK";

        this.color.setBlue(true);

        // Return up to two target creatures to their owners' hands.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
    }
View Full Code Here

        // Strive - Kiora's Dismissal costs U more to cast for each target beyond the first.
        this.addAbility(new StriveAbility("{U}"));
        // Return any number of target enchantments to their owners' hands.
        this.getSpellAbility().addTarget(new TargetPermanent(0, Integer.MAX_VALUE, new FilterEnchantmentPermanent(), false));
        Effect effect = new ReturnToHandTargetEffect();
        effect.setText("Return any number of target enchantments to their owners' hands");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

        this.expansionSetCode = "KTK";

        this.color.setBlue(true);

        // Return target creature to its owner's hand.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());

        // <i>Ferocious</i> - If you control a creature with power 4 or greater, you may draw a card. If you do, discard a card.
        Effect effect = new ConditionalOneShotEffect(new DrawDiscardControllerEffect(1,1, true),
                FerociousCondition.getInstance() , "<br/><br/><i>Ferocious</i> - If you control a creature with power 4 or greater, you may draw a card. If you do, discard a card");
View Full Code Here

    public Regress (UUID ownerId) {
        super(ownerId, 48, "Regress", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{U}");
        this.expansionSetCode = "MRD";
        this.color.setBlue(true);
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent());
    }
View Full Code Here

}

class ArmWithAEtherTriggeredAbility extends TriggeredAbilityImpl {

    public ArmWithAEtherTriggeredAbility() {
        super(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), true);
    }
View Full Code Here

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

        this.addAbility(DefenderAbility.getInstance());
        Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true);
        ability.addTarget(new TargetCardInYourGraveyard(filter));
        this.addAbility(ability);
    }
View Full Code Here

        super(ownerId, 70, "Boomerang", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{U}{U}");
        this.expansionSetCode = "10E";
        this.color.setBlue(true);
       
        // Return target permanent to its owner's hand.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent());
    }
View Full Code Here

    public SkullOfOrm(UUID ownerId) {
        super(ownerId, 106, "Skull of Orm", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{3}");
        this.expansionSetCode = "DRK";

        // {5}, {tap}: Return target enchantment card from your graveyard to your hand.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new ManaCostsImpl("{5}"));
        ability.addTarget(new TargetCardInGraveyard(new FilterCreatureCard()));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "AVR";

        this.color.setBlue(true);

        // Return up to two target creatures to their owners' hands.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
    }
View Full Code Here

TOP

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

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.