mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Scrivener - Fixed that also cards from other graveyards than from the controller could be selected.
This commit is contained in:
parent
c760fba685
commit
ddbd3c3fa5
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.Rarity;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -49,7 +49,7 @@ public class Scrivener extends CardImpl {
|
|||
private static final FilterCard filter = new FilterCard("instant card from your graveyard");
|
||||
|
||||
static{
|
||||
filter.add(new CardTypePredicate(CardType.INSTANT));
|
||||
filter.add(new CardTypePredicate(CardType.INSTANT));
|
||||
}
|
||||
|
||||
public Scrivener(UUID ownerId) {
|
||||
|
@ -64,7 +64,7 @@ public class Scrivener extends CardImpl {
|
|||
|
||||
// When Scrivener enters the battlefield, you may return target instant card from your graveyard to your hand.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnFromGraveyardToHandTargetEffect(), true);
|
||||
ability.addTarget(new TargetCardInGraveyard(filter));
|
||||
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
||||
this.addAbility(ability);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue