mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Merge pull request #7282 from weirddan455/court-of-ambition-fix
Fixed Court of Ambition incorrectly causing you to discard cards (fixes #7263)
This commit is contained in:
commit
a1c82f91d7
1 changed files with 2 additions and 1 deletions
|
|
@ -79,6 +79,7 @@ class CourtOfAmbitionEffect extends OneShotEffect {
|
||||||
}
|
}
|
||||||
if (player.getHand().size() < discardCount || !player.chooseUse(outcome, message, source, game)) {
|
if (player.getHand().size() < discardCount || !player.chooseUse(outcome, message, source, game)) {
|
||||||
player.loseLife(discardCount * 3, game, source, false);
|
player.loseLife(discardCount * 3, game, source, false);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
TargetDiscard target = new TargetDiscard(discardCount, StaticFilters.FILTER_CARD, playerId);
|
TargetDiscard target = new TargetDiscard(discardCount, StaticFilters.FILTER_CARD, playerId);
|
||||||
player.choose(outcome, target, source.getSourceId(), game);
|
player.choose(outcome, target, source.getSourceId(), game);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue