mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
Fix Field of Ruin search logic
Per #5126: field of ruin bugged: doesn't let u search for a land. (reported by vespel / 2018-07-15 03:18:09.356). Changed search logic to match the search from CollectiveVoyage.java.
This commit is contained in:
parent
097569148e
commit
59907b59e0
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class FieldOfRuinEffect extends OneShotEffect {
|
|||
if (player != null) {
|
||||
TargetCardInLibrary target = new TargetCardInLibrary(0, 1, StaticFilters.FILTER_CARD_BASIC_LAND);
|
||||
if (player.searchLibrary(target, game)) {
|
||||
player.moveCards(new CardsImpl(target.getTargets()), Zone.BATTLEFIELD, source, game);
|
||||
player.moveCards(new CardsImpl(target.getTargets()).getCards(game), Zone.BATTLEFIELD, source, game);
|
||||
player.shuffleLibrary(source, game);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue