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;
import java.util.UUID;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -10,13 +8,15 @@ import mage.filter.FilterCard;
import mage.filter.predicate.Predicates;
import mage.target.common.TargetCardInYourGraveyard;
import java.util.UUID;
/**
*
* @author emerald000
*/
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 {
filter.add(Predicates.or(CardType.ARTIFACT.getPredicate(), CardType.ENCHANTMENT.getPredicate()));
}
@ -26,10 +26,10 @@ public final class ArgivianFind extends CardImpl {
// Return target artifact or enchantment card from your graveyard to your hand.
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);
}