- Fixed the flooding of quest shop with dozens of color booster packs (now the total number of color booster packs corresponds to the total number of standard booster packs).

This commit is contained in:
Agetian
2017-06-15 05:19:49 +00:00
parent 33a901bbf8
commit 6591dadc4c

View File

@@ -533,11 +533,10 @@ public final class QuestUtilCards {
List<InventoryItem> output = new ArrayList<>();
for (String color : SealedProduct.specialSets) {
for (int i = 0; i < quantity; i++) {
String color = SealedProduct.specialSets.get(MyRandom.getRandom().nextInt(SealedProduct.specialSets.size()));
output.add(new BoosterPack(color, getColoredBoosterTemplate(color)));
}
}
return output;