Merge branch 'pay' into 'master'

Fix exileFromMiscZone paying with less than needed

See merge request core-developers/forge!5756
This commit is contained in:
Michael Kamensky
2021-11-08 09:41:27 +00:00

View File

@@ -382,7 +382,7 @@ public class HumanCostDecision extends CostDecisionMakerBase {
origin.add(cost.from);
final CardCollection exiled = new CardCollection();
final List<Card> chosen = controller.chooseCardsForZoneChange(ZoneType.Exile, origin, sa, typeList, 0,
final List<Card> chosen = controller.chooseCardsForZoneChange(ZoneType.Exile, origin, sa, typeList, nNeeded,
nNeeded, null, cost.toString(), null);
exiled.addAll(chosen);