mirror of
https://github.com/correl/mage.git
synced 2025-04-03 01:08:59 -09:00
Merge pull request #6043 from magefree/LeadershipVacuum
Fixed Leadership Vacuum
This commit is contained in:
commit
54008b384c
1 changed files with 4 additions and 4 deletions
|
@ -71,9 +71,9 @@ class LeadershipVacuumEffect extends OneShotEffect {
|
|||
if (player == null) {
|
||||
return false;
|
||||
}
|
||||
return player.moveCards(game.getBattlefield()
|
||||
.getAllActivePermanents(filter, source.getFirstTarget(), game)
|
||||
.stream()
|
||||
.collect(Collectors.toSet()), Zone.COMMAND, source, game);
|
||||
|
||||
return game.getBattlefield().getAllActivePermanents(filter, source.getFirstTarget(), game).stream()
|
||||
.map(commander -> commander.moveToZone(Zone.COMMAND, source.getId(), game, true))
|
||||
.reduce(true, Boolean::logicalAnd);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue