From 6adb6917130903cf08e1a41b4e97f1bf4e80df6c Mon Sep 17 00:00:00 2001 From: Daniel Bomar Date: Thu, 24 Dec 2020 00:07:28 -0600 Subject: [PATCH] Fixed Court of Ambition incorrectly causing you to discard cards (fixes #7263) --- Mage.Sets/src/mage/cards/c/CourtOfAmbition.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/c/CourtOfAmbition.java b/Mage.Sets/src/mage/cards/c/CourtOfAmbition.java index 9d6d4cbcfd..89375c3ffa 100644 --- a/Mage.Sets/src/mage/cards/c/CourtOfAmbition.java +++ b/Mage.Sets/src/mage/cards/c/CourtOfAmbition.java @@ -70,7 +70,7 @@ class CourtOfAmbitionEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { int discardCount = source.isControlledBy(game.getMonarchId()) ? 2 : 1; String message = "Discard " + CardUtil.numberToText(discardCount, "a") - + "card" + (discardCount > 1 ? 's' : "") + "? If not you lose " + (discardCount * 3) + " life"; + + " card" + (discardCount > 1 ? 's' : "") + "? If not you lose " + (discardCount * 3) + " life"; Map discardMap = new HashMap<>(); for (UUID playerId : game.getOpponents(source.getControllerId())) { Player player = game.getPlayer(playerId); @@ -79,6 +79,7 @@ class CourtOfAmbitionEffect extends OneShotEffect { } if (player.getHand().size() < discardCount || !player.chooseUse(outcome, message, source, game)) { player.loseLife(discardCount * 3, game, source, false); + continue; } TargetDiscard target = new TargetDiscard(discardCount, StaticFilters.FILTER_CARD, playerId); player.choose(outcome, target, source.getSourceId(), game);