mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 06:52:02 -08:00
34 lines
954 B
Java
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);
|
|
}
|
|
}
|