Allowed Oreskos Explorer to search for nonbasic Plains

This commit is contained in:
L_J 2018-09-07 22:25:41 +00:00 committed by GitHub
parent e398fb9a30
commit 055c9e9fff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ import mage.cards.CardSetInfo;
import mage.cards.Cards;
import mage.cards.CardsImpl;
import mage.constants.*;
import mage.filter.common.FilterBasicLandCard;
import mage.filter.common.FilterLandCard;
import mage.filter.common.FilterLandPermanent;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.filter.predicate.permanent.ControllerPredicate;
@ -83,7 +83,7 @@ class OreskosExplorerEffect extends OneShotEffect {
}
}
if (landsToSearch > 0) {
FilterBasicLandCard filterPlains = new FilterBasicLandCard("up to " + landsToSearch + " Plains cards");
FilterLandCard filterPlains = new FilterLandCard("up to " + landsToSearch + " Plains cards");
filterPlains.add(new ControllerPredicate(TargetController.YOU));
filterPlains.add(new SubtypePredicate(SubType.PLAINS));
TargetCardInLibrary target = new TargetCardInLibrary(0, landsToSearch, filterPlains);