Fix Smelting Vat allowing the user to select any number of artifacts

This commit is contained in:
PurpleCrowbar 2023-02-27 16:10:32 +00:00
parent 4274b75225
commit fee866d4f0

View file

@ -105,7 +105,7 @@ class SmeltingVatTarget extends TargetCardInLibrary {
private final int value;
SmeltingVatTarget(Ability source) {
super(0, Integer.MAX_VALUE, filter);
super(0, 2, filter);
this.value = CardUtil
.castStream(source.getCosts().stream(), SacrificeTargetCost.class)
.map(SacrificeTargetCost::getPermanents)