fixed Seasoned Pyromancer requiring controller to choose cards in hand when there aren't enough
@@ -82,8 +82,10 @@ class SeasonedPyromancerEffect extends OneShotEffect {
if (player == null) {
return false;
}
- TargetCard target = new TargetCardInHand(2, StaticFilters.FILTER_CARD);
int nonlands = 0;
+ int toDiscard = Math.max(player.getHand().size(), 2);
+ if (toDiscard > 0) {
+ TargetCard target = new TargetCardInHand(toDiscard, StaticFilters.FILTER_CARD);
if (player.choose(outcome, player.getHand(), target, game)) {
Cards cards = new CardsImpl(target.getTargets());
for (Card card : cards.getCards(game)) {
@@ -92,6 +94,7 @@ class SeasonedPyromancerEffect extends OneShotEffect {
}
}
}
+ }
player.drawCards(2, game);
if (nonlands > 0) {
return new CreateTokenEffect(new YoungPyromancerElementalToken(), nonlands).apply(game, source);
