forked from External/mage
Fixed a problem that selecting cards in hand or libraray could unintended trigger "becomes the target of a spell or ability" abilities.
This commit is contained in:
parent
3cd26fa834
commit
c6d54c929f
2 changed files with 3 additions and 2 deletions
|
|
@ -69,6 +69,7 @@ public class TargetCardInLibrary extends TargetCard {
|
|||
// with a certain card type or color, that player isn’t required to find some or all of those cards
|
||||
// even if they’re present in that zone.
|
||||
this.setRequired(!filter.hasPredicates());
|
||||
this.setNotTarget(true);
|
||||
this.librarySearchLimit = Integer.MAX_VALUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue