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:
LevelX2 2016-12-24 11:42:11 +01:00
parent 3cd26fa834
commit c6d54c929f
2 changed files with 3 additions and 2 deletions

View file

@ -69,6 +69,7 @@ public class TargetCardInLibrary extends TargetCard {
// with a certain card type or color, that player isnt required to find some or all of those cards
// even if theyre present in that zone.
this.setRequired(!filter.hasPredicates());
this.setNotTarget(true);
this.librarySearchLimit = Integer.MAX_VALUE;
}