mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
You can now select 3-12 boosters instead of the default 6 in single-set Block-mode Sealed Deck games.
This commit is contained in:
@@ -220,7 +220,17 @@ public class SealedDeckFormat {
|
||||
else {
|
||||
product1 = new UnOpenedProduct(Singletons.getModel().getBoosters().get(sets[0]));
|
||||
}
|
||||
for (int i = 0; i < nPacks; i++) {
|
||||
|
||||
// Choose number of boosters
|
||||
final Integer[] integers = new Integer[10];
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
integers[i] = Integer.valueOf(i + 3);
|
||||
}
|
||||
|
||||
Integer nrBoosters = GuiUtils.chooseOne("How many booster packs?", integers);
|
||||
|
||||
for (int i = 0; i < nrBoosters; i++) {
|
||||
this.product.add(product1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user