Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect


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

        // When Voidwielder enters the battlefield, you may return target creature to its owner's hand.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here


        this.color.setBlack(true);

        // Return target creature card from your graveyard to your hand.
        this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(filter));
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

}

class SkymarkRocAbility extends TriggeredAbilityImpl {

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

        this.expansionSetCode = "NMS";

        this.color.setBlue(true);

        // Sacrifice Seal of Removal: Return target creature to its owner's hand.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new SacrificeSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "INV";

        this.color.setBlue(true);

        // Return target creature to its owner's hand.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

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

        // When Archaeomancer enters the battlefield, return target instant or sorcery card from your graveyard to your hand.
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), false);
        Target target = new TargetCardInYourGraveyard(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

    public NaturesSpiral(UUID ownerId) {
        super(ownerId, 196, "Nature's Spiral", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{1}{G}");
        this.expansionSetCode = "M10";
        this.color.setGreen(true);
        this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(new FilterPermanentCard("permanent card from your graveyard")));
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
    }
View Full Code Here

        this.expansionSetCode = "THS";

        this.color.setBlue(true);

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

       
        // You may look at cards exiled with Bane Alley Broker.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new BaneAlleyBrokerLookAtCardEffect()));

        // {U}{B}, {tap}: Return a card exiled with Bane Alley Broker to its owner's hand.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new ManaCostsImpl("{U}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCardInBaneAlleyBrokerExile(this.getId()));
        this.addAbility(ability);

    }
View Full Code Here

        // Flash
        this.addAbility(FlashAbility.getInstance());
        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // 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());
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.