mage/Mage.Sets/src/mage/cards/w/WildwoodRebirth.java
2018-10-10 08:47:53 +04:00

34 lines
954 B
Java

package mage.cards.w;
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.target.common.TargetCardInYourGraveyard;
import java.util.UUID;
/**
* @author Plopman
*/
public final class WildwoodRebirth extends CardImpl {
public WildwoodRebirth(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
// Return target creature card from your graveyard to your hand.
this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect());
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard());
}
public WildwoodRebirth(final WildwoodRebirth card) {
super(card);
}
@Override
public WildwoodRebirth copy() {
return new WildwoodRebirth(this);
}
}