Examples of ReturnToHandTargetEffect


Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

        // Whenever Walker of Secret Ways deals combat damage to a player, look at that player's hand.
        this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new WalkerOfSecretWaysEffect(), true, true));

        // {1}{U}: Return target Ninja you control to its owner's hand. Activate this ability only during your turn.
        Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new ManaCostsImpl("{1}{U}"), MyTurnCondition.getInstance());
        ability.addTarget(new TargetControlledCreaturePermanent(1,1, filterCreature, false));
        this.addAbility(ability);


    }
View Full Code Here

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

        this.expansionSetCode = "CHK";
        this.subtype.add("Spirit");
        this.color.setGreen(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new ManaCostsImpl("{1}{G}"));
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetCardInYourGraveyard(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

        this.expansionSetCode = "ALA";

        this.color.setBlue(true);

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

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

}

class MistbladeShinobiTriggeredAbility extends TriggeredAbilityImpl {

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

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

        this.subtype.add("Human");
        this.subtype.add("Wizard");
        this.color.setWhite(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true);
        ability.addTarget(new TargetCardInYourGraveyard(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

        this.toughness = new MageInt(3);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Sanctum Gargoyle enters the battlefield, you may return target artifact card from your graveyard to your hand.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true);
        ability.addTarget(new TargetCardInYourGraveyard(new FilterArtifactCard("artifact card from your graveyard")));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

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

        // Choose one - Return target permanent to its owner's hand;
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent());
        // or target creature gets -4/-4 until end of turn;
        Mode mode = new Mode();
        mode.getEffects().add(new BoostTargetEffect(-4, -4, Duration.EndOfTurn));
        mode.getTargets().add(new TargetCreaturePermanent());
View Full Code Here

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

        this.expansionSetCode = "JOU";

        this.color.setBlue(true);

        // Return up to one target instant card and up to one target sorcery card from your graveyard to your hand. Exile Pull from the Deep.
        Effect effect = new ReturnToHandTargetEffect();
        effect.setText("Return up to one target instant card");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0,1,filterInstant));
        effect = new ReturnToHandTargetEffect();
        effect.setText("and up to one target sorcery card from your graveyard to your hand");
        effect.setTargetPointer(new SecondTargetPointer());
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0,1,filterSorcery));
        this.getSpellAbility().addEffect(ExileSpellEffect.getInstance());
    }
View Full Code Here

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

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

        // Heroic — Whenever you cast a spell that targets Triton Cavalry, you may return target enchantment to its owner's hand.
        Ability ability = new HeroicAbility(new ReturnToHandTargetEffect(), true);
        ability.addTarget(new TargetEnchantmentPermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.ReturnToHandTargetEffect

        this.color.setBlue(true);

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

        // Flashback {4}{U}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{4}{U}"), TimingRule.SORCERY));
    }
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.