Fix for Surveyor's Scope

"X = 0" case didn't shuffle owner's library
This commit is contained in:
Zzooouhh 2017-12-08 12:44:43 +01:00 committed by GitHub
parent 763594e579
commit b21ee39acf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,10 +101,8 @@ class SurveyorsScopeEffect extends OneShotEffect {
}
}
game.informPlayers(new StringBuilder("Surveyor's Scope: X = ").append(numberOfLands).toString());
if (numberOfLands > 0) {
return new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(0, numberOfLands, StaticFilters.FILTER_BASIC_LAND_CARD)).apply(game, source);
}
return true;
// 10/17/2013 If no players control at least two more lands than you when the ability resolves, youll still search and shuffle your library.
return new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(0, numberOfLands, StaticFilters.FILTER_BASIC_LAND_CARD)).apply(game, source);
}
return false;
}