mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
- getPlayersInRange() added to All Hallow's Eve
This commit is contained in:
parent
0cb8e727fb
commit
dc7e9318af
1 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,8 @@ class AllHallowsEveEffect extends OneShotEffect {
|
|||
if (allHallowsEve.getCounters(game).getCount(CounterType.SCREAM) == 0) {
|
||||
allHallowsEve.moveToZone(Zone.GRAVEYARD, source.getId(), game, false);
|
||||
Cards creatures = new CardsImpl();
|
||||
for (Player player : game.getPlayers().values()) {
|
||||
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
|
||||
Player player = game.getPlayer(playerId);
|
||||
if (player != null) {
|
||||
for (Card creatureCard : player.getGraveyard().getCards(new FilterCreatureCard(), game)) {
|
||||
creatures.add(creatureCard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue