From fd100422bd6e6042c3c72bf39deb7c58e3bfe586 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 11 Sep 2020 19:59:44 -0400 Subject: [PATCH] [ZNR] fixed Yasharn, Implacable Earth search issues (#7046) --- Mage.Sets/src/mage/cards/y/YasharnImplacableEarth.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/y/YasharnImplacableEarth.java b/Mage.Sets/src/mage/cards/y/YasharnImplacableEarth.java index 88ee8b7e81..71f89633bc 100644 --- a/Mage.Sets/src/mage/cards/y/YasharnImplacableEarth.java +++ b/Mage.Sets/src/mage/cards/y/YasharnImplacableEarth.java @@ -43,7 +43,7 @@ public final class YasharnImplacableEarth extends CardImpl { // When Yasharn, Implacable Earth enters the battlefield, search your library for a basic Forest card and a basic Plains card, reveal those cards, put them into your hand, then shuffle your library. this.addAbility(new EntersBattlefieldTriggeredAbility( - new SearchLibraryPutInHandEffect(new YasharnImplacableEarthTarget()) + new SearchLibraryPutInHandEffect(new YasharnImplacableEarthTarget(), true) .setText("search your library for a basic Forest card and a basic Plains card, " + "reveal those cards, put them into your hand, then shuffle your library") )); @@ -102,7 +102,7 @@ class YasharnImplacableEarthTarget extends TargetCardInLibrary { subTypes.removeIf(subType -> subType != SubType.FOREST && subType != SubType.PLAINS); possibleTargets.removeIf(uuid -> { Card card = game.getCard(uuid); - return card != null && subTypes.stream().noneMatch(subType -> card.hasSubtype(subType, game)); + return card != null && subTypes.stream().anyMatch(subType -> card.hasSubtype(subType, game)); }); return possibleTargets; }