- getPlayersInRange() added to All Hallow's Eve

This commit is contained in:
Achilles 2017-03-20 08:24:28 -05:00
parent 0cb8e727fb
commit dc7e9318af

View file

@ -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);