Merge pull request #10369 from xenohedron/refactor-search

Refactor search library effect classes to clean up text generation
This commit is contained in:
xenohedron 2023-06-04 22:18:18 +03:00 committed by GitHub
commit 807a6c95f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
286 changed files with 377 additions and 469 deletions

View file

@ -544,7 +544,7 @@ public abstract class MageTestPlayerBase {
);
// library
ability = new SimpleActivatedAbility(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(StaticFilters.FILTER_CARD)).setText("return from library"), new ManaCostsImpl<>(""));
ability = new SimpleActivatedAbility(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(StaticFilters.FILTER_CARD), false).setText("return from library"), new ManaCostsImpl<>(""));
addCustomCardWithAbility(
"return from library for " + controller.getName(),
controller,