fixed Argivian Find text

This commit is contained in:
Evan Kranzler 2020-04-21 21:46:07 -04:00
parent aa96ed225f
commit 74a81c6f18

View file

@ -1,8 +1,6 @@
package mage.cards.a; package mage.cards.a;
import java.util.UUID; import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.cards.CardSetInfo; import mage.cards.CardSetInfo;
import mage.constants.CardType; import mage.constants.CardType;
@ -10,26 +8,28 @@ import mage.filter.FilterCard;
import mage.filter.predicate.Predicates; import mage.filter.predicate.Predicates;
import mage.target.common.TargetCardInYourGraveyard; import mage.target.common.TargetCardInYourGraveyard;
import java.util.UUID;
/** /**
*
* @author emerald000 * @author emerald000
*/ */
public final class ArgivianFind extends CardImpl { public final class ArgivianFind extends CardImpl {
private static final FilterCard filter = new FilterCard("artifact or enchantment card"); private static final FilterCard filter = new FilterCard("artifact or enchantment card from your graveyard");
static { static {
filter.add(Predicates.or(CardType.ARTIFACT.getPredicate(), CardType.ENCHANTMENT.getPredicate())); filter.add(Predicates.or(CardType.ARTIFACT.getPredicate(), CardType.ENCHANTMENT.getPredicate()));
} }
public ArgivianFind(UUID ownerId, CardSetInfo setInfo) { public ArgivianFind(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{W}"); super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}");
// Return target artifact or enchantment card from your graveyard to your hand. // Return target artifact or enchantment card from your graveyard to your hand.
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(filter)); this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(filter));
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect()); this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect());
} }
public ArgivianFind(final ArgivianFind card) { private ArgivianFind(final ArgivianFind card) {
super(card); super(card);
} }