mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Correct version of SSubmenuQuestUtil (actually enables the unlocking code), new sets cost a little more.
This commit is contained in:
@@ -29,6 +29,7 @@ import forge.quest.QuestEvent;
|
||||
import forge.quest.QuestEventChallenge;
|
||||
import forge.quest.QuestMode;
|
||||
import forge.quest.QuestUtil;
|
||||
import forge.quest.QuestUtilUnlockSets;
|
||||
import forge.quest.bazaar.QuestItemType;
|
||||
import forge.quest.bazaar.QuestPetController;
|
||||
import forge.quest.data.QuestAchievements;
|
||||
@@ -246,9 +247,9 @@ public class SSubmenuQuestUtil {
|
||||
/** */
|
||||
public static void showSetUnlock() {
|
||||
final QuestController qData = Singletons.getModel().getQuest();
|
||||
CardEdition toUnlock = QuestUtil.unlockSet(qData, false, null);
|
||||
CardEdition toUnlock = QuestUtilUnlockSets.unlockSet(qData, false, null);
|
||||
if (toUnlock != null) {
|
||||
|
||||
QuestUtilUnlockSets.doUnlock(qData, toUnlock);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ public class QuestUtilUnlockSets {
|
||||
List<Long> unlockPrices = new ArrayList<Long>();
|
||||
for (int i = 0; i < choices.size(); i++) {
|
||||
if (mapPrices.containsKey(choices.get(i).getName() + " Booster Pack")) {
|
||||
long newPrice = (long) 35 * mapPrices.get(choices.get(i).getName() + " Booster Pack");
|
||||
long newPrice = (long) 50 * mapPrices.get(choices.get(i).getName() + " Booster Pack");
|
||||
if (newPrice < 10000) { newPrice = 10000; }
|
||||
unlockPrices.add(newPrice);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user