From a9b9e77ec90346c77c7f6833878268d48dd1f506 Mon Sep 17 00:00:00 2001 From: androosss Date: Tue, 15 Apr 2025 17:20:34 +0200 Subject: [PATCH] fix functionality --- Mage.Sets/src/mage/cards/g/GrenzosRebuttal.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Mage.Sets/src/mage/cards/g/GrenzosRebuttal.java b/Mage.Sets/src/mage/cards/g/GrenzosRebuttal.java index d35c6f393a3..42fc6a01205 100644 --- a/Mage.Sets/src/mage/cards/g/GrenzosRebuttal.java +++ b/Mage.Sets/src/mage/cards/g/GrenzosRebuttal.java @@ -3,7 +3,6 @@ package mage.cards.g; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.CreateTokenEffect; -import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; @@ -56,8 +55,7 @@ class GrenzosRebuttalEffect extends OneShotEffect { GrenzosRebuttalEffect() { super(Outcome.Benefit); - this.staticText = "Starting with you, each player chooses an artifact, a creature, and a land from among the permanents controlled by the player to their left. " + - "Destroy each permanent chosen this way."; + this.staticText = "Starting with you, each player chooses an artifact, a creature, and a land from among the permanents controlled by the player to their left. " + "Destroy each permanent chosen this way."; } private GrenzosRebuttalEffect(final GrenzosRebuttalEffect effect) { @@ -76,7 +74,7 @@ class GrenzosRebuttalEffect extends OneShotEffect { if (controller == null || !controller.canRespond()) { return false; } - List chosenPermanents = new ArrayList<>(); + List chosenPermanents = new ArrayList<>(); PlayerList playerList = game.getState().getPlayersInRange(controllerId, game, true); @@ -115,10 +113,8 @@ class GrenzosRebuttalEffect extends OneShotEffect { currentPlayer = nextPlayer; } - for (Permanent permanent : game.getBattlefield().getAllActivePermanents()) { - if (!chosenPermanents.contains(permanent)) { - permanent.destroy(source, game); - } + for (Permanent permanent : chosenPermanents) { + permanent.destroy(source, game); } return true;