mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Fixed Leadership Vacuum
This commit is contained in:
parent
3831bd113f
commit
4665278f65
1 changed files with 4 additions and 4 deletions
|
|
@ -71,9 +71,9 @@ class LeadershipVacuumEffect extends OneShotEffect {
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return player.moveCards(game.getBattlefield()
|
|
||||||
.getAllActivePermanents(filter, source.getFirstTarget(), game)
|
return game.getBattlefield().getAllActivePermanents(filter, source.getFirstTarget(), game).stream()
|
||||||
.stream()
|
.map(commander -> commander.moveToZone(Zone.COMMAND, source.getId(), game, true))
|
||||||
.collect(Collectors.toSet()), Zone.COMMAND, source, game);
|
.reduce(true, Boolean::logicalAnd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue