mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
fix #11386 (target pointer on Retrieve)
This commit is contained in:
parent
a8feba7165
commit
0fbeb10d17
1 changed files with 4 additions and 3 deletions
|
|
@ -10,6 +10,7 @@ import mage.filter.StaticFilters;
|
|||
import mage.filter.common.FilterPermanentCard;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
import mage.target.targetpointer.EachTargetPointer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -18,7 +19,7 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class Retrieve extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterPermanentCard("noncreature permanent card");
|
||||
private static final FilterCard filter = new FilterPermanentCard("noncreature permanent card from your graveyard");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(CardType.CREATURE.getPredicate()));
|
||||
|
|
@ -29,8 +30,8 @@ public final class Retrieve extends CardImpl {
|
|||
|
||||
// Return up to one target creature card and up to one target noncreature permanent card from your graveyard to your hand. Exile Retrieve.
|
||||
this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect()
|
||||
.setText("return up to one target creature card and up to one target " +
|
||||
"noncreature permanent card from your graveyard to your hand"));
|
||||
.setTargetPointer(new EachTargetPointer())
|
||||
);
|
||||
this.getSpellAbility().addEffect(new ExileSpellEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(
|
||||
0, 1, StaticFilters.FILTER_CARD_CREATURE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue