diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js index f7717c5fb..1c402a730 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js @@ -150,7 +150,7 @@ var set20 = { '20_152': 'http://lotrtcg.org/coreset/gandalf/barlimanbutterburji(r1).jpg', '20_153': 'http://lotrtcg.org/coreset/gandalf/bindinglight.jpg', '20_154': 'http://www.lotrtcg.org/coreset/gandalf/bolsteredspirits(r2).jpg', - '20_155': 'http://lotrtcg.org/coreset/gandalf/discernment.jpg', + '20_155': 'http://lotrtcg.org/coreset/gandalf/discernment(r3).jpg', '20_156': 'http://lotrtcg.org/coreset/gandalf/gandalfdotp.jpg', '20_157': 'http://lotrtcg.org/coreset/gandalf/gandalfwoti(r1).jpg', '20_158': 'http://www.lotrtcg.org/coreset/gandalf/gandalfspipe(r2).jpg', diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/gandalf/Card20_155.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/gandalf/Card20_155.java index 3514c5a0f..8fe1b86b9 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/gandalf/Card20_155.java +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/gandalf/Card20_155.java @@ -18,15 +18,16 @@ import com.gempukku.lotro.logic.effects.PlayoutDecisionEffect; import java.util.Set; /** - * 3 - * Discernment - * Gandalf Event • Manuever + * ❸ Discernment [Gan] + * Event • Fellowship * Spell. - * Exert Gandalf twice and add X to discard up to four Shadow conditions, where X is the combined twilight cost of those conditions. + * Exert Gandalf twice and add (X) to discard up to four Shadow conditions, with a combined twilight cost of X or less + *

+ * http://lotrtcg.org/coreset/gandalf/discernment(r3).jpg */ public class Card20_155 extends AbstractEvent { public Card20_155() { - super(Side.FREE_PEOPLE, 3, Culture.GANDALF, "Discernment", Phase.MANEUVER); + super(Side.FREE_PEOPLE, 3, Culture.GANDALF, "Discernment", Phase.FELLOWSHIP); addKeyword(Keyword.SPELL); } @@ -51,16 +52,16 @@ public class Card20_155 extends AbstractEvent { new AddTwilightEffect(self, x)); action.appendEffect( new PlayoutDecisionEffect(playerId, - new CardsSelectionDecision(1, "Choose up to 4 Shadow conditions with combined twilight cost of up to "+x, + new CardsSelectionDecision(1, "Choose up to 4 Shadow conditions with combined twilight cost of up to " + x, Filters.filterActive(game.getGameState(), game.getModifiersQuerying(), Side.SHADOW, CardType.CONDITION, Filters.canBeDiscarded(self)), 0, 4) { @Override public void decisionMade(String result) throws DecisionResultInvalidException { Set selectedCardsByResponse = getSelectedCardsByResponse(result); int twilightTotal = 0; for (PhysicalCard physicalCard : selectedCardsByResponse) - twilightTotal+=physicalCard.getBlueprint().getTwilightCost(); - if (twilightTotal>x) - throw new DecisionResultInvalidException("You have chosen conditions of combined twilight cost of "+twilightTotal); + twilightTotal += physicalCard.getBlueprint().getTwilightCost(); + if (twilightTotal > x) + throw new DecisionResultInvalidException("You have chosen conditions of combined twilight cost of " + twilightTotal); action.appendEffect( new DiscardCardsFromPlayEffect(self, Filters.in(selectedCardsByResponse))); }