Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ReturnToHandSourceEffect


        this.color.setRed(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(6);

        // {1}{U}{R}: Return Etherium-Horn Sorcerer to its owner's hand.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(true), new ManaCostsImpl("{1}{U}{R}")));

        // Cascade
        this.addAbility(new CascadeAbility());
    }
View Full Code Here


        // Remove a charge counter from Mana Bloom: Add one mana of any color to your mana pool. Activate this ability only once each turn.
        Ability ability = new ActivateOncePerTurnManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), new RemoveCountersSourceCost(CounterType.CHARGE.createInstance()));
        this.addAbility(ability);

        // At the beginning of your upkeep, if Mana Bloom has no charge counters on it, return it to its owner's hand.
        TriggeredAbility triggeredAbility = new BeginningOfUpkeepTriggeredAbility(new ReturnToHandSourceEffect(true), TargetController.YOU, false);
        this.addAbility(new ConditionalTriggeredAbility(triggeredAbility, new SourceHasCounterCondition(CounterType.CHARGE, 0,0), "At the beginning of your upkeep, if Mana Bloom has no charge counters on it, return it to its owner's hand."));

    }
View Full Code Here

        this.subtype.add("Merfolk");
        this.color.setWhite(true);
        // Put two 1/1 blue Merfolk Wizard creature tokens onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new MerfolkToken(), 2));
        // Tap four untapped Merfolk you control: Return Summon the School from your graveyard to your hand.
        this.addAbility(new SimpleActivatedAbility(Zone.GRAVEYARD, new ReturnToHandSourceEffect(), new TapTargetCost(new TargetControlledPermanent(4, 4, filter, false))));
    }
View Full Code Here

        this.toughness = new MageInt(3);

        // Haste
        this.addAbility(HasteAbility.getInstance());
        // At the beginning of the end step, return Viashino Cutthroat to its owner's hand.
        this.addAbility(new BeginningOfYourEndStepTriggeredAbility(new ReturnToHandSourceEffect(true), false));
    }
View Full Code Here

        ability.addCost(new TapSourceCost());
        ability.addCost(new RemoveCountersSourceCost(CounterType.P1P1.createInstance(1)));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
         // {2}, Remove a +1/+1 counter from Suncrusher: Return Suncrusher to its owner's hand.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(true), new GenericManaCost(2));
        ability.addCost(new RemoveCountersSourceCost(CounterType.P1P1.createInstance(1)));
        this.addAbility(ability);
    }
View Full Code Here

        this.toughness = new MageInt(3);
        this.addAbility(FlashAbility.getInstance());
        this.addAbility(FlyingAbility.getInstance());
       
        // {U}{B}, Pay 1 life: Return Wydwen, the Biting Gale to its owner's hand.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(true), new ManaCostsImpl("{U}{B}"));
        ability.addCost(new PayLifeCost(1));
        this.addAbility(ability);
    }
View Full Code Here

        // When Yuki-Onna enters the battlefield, destroy target artifact.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
        ability.addTarget(new TargetPermanent(filterTarget));
        this.addAbility(ability);
        // Whenever you cast a Spirit or Arcane spell, you may return Yuki-Onna to its owner's hand.
        this.addAbility(new SpellCastControllerTriggeredAbility(new ReturnToHandSourceEffect(true), filter, true));
    }
View Full Code Here

        // When Cavern Harpy enters the battlefield, return a blue or black creature you control to its owner's hand.
        Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), false);
        ability.addTarget(new TargetControlledCreaturePermanent(1,1,filter, false));
        this.addAbility(ability);       
        // Pay 1 life: Return Cavern Harpy to its owner's hand.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(true), new PayLifeCost(1)));
    }
View Full Code Here

        this.expansionSetCode = "SOK";
        this.supertype.add("Legendary");
        // {tap}: Add {U} to your mana pool.
        this.addAbility(new BlueManaAbility());
        // {1}: Return Oboro, Palace in the Clouds to its owner's hand.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(true), new GenericManaCost(1)));
    }
View Full Code Here

        // {3}, {tap}: Tap target creature, then return Cyclopean Snare to its owner's hand.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new GenericManaCost(3));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        ability.addEffect(new ReturnToHandSourceEffect(true));
        this.addAbility(ability);
    }
View Full Code Here

TOP

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

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.