mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Slight adjustments to the unlocking cost formula to make it more consistent with the new desired base cost.
This commit is contained in:
@@ -67,8 +67,8 @@ public class QuestUtilUnlockSets {
|
|||||||
for (CardEdition ed : getUnlockableEditions(qData)) {
|
for (CardEdition ed : getUnlockableEditions(qData)) {
|
||||||
int price = UNLOCK_COST;
|
int price = UNLOCK_COST;
|
||||||
if (mapPrices.containsKey(ed.getName() + " Booster Pack")) {
|
if (mapPrices.containsKey(ed.getName() + " Booster Pack")) {
|
||||||
price = Math.max(new Double(60 * Math.pow(Math.sqrt(mapPrices.get(ed.getName()
|
price = Math.max(new Double(30 * Math.pow(Math.sqrt(mapPrices.get(ed.getName()
|
||||||
+ " Booster Pack")), 1.65)).intValue(), UNLOCK_COST);
|
+ " Booster Pack")), 1.70)).intValue(), UNLOCK_COST);
|
||||||
}
|
}
|
||||||
setPrices.add(ImmutablePair.of(ed, price));
|
setPrices.add(ImmutablePair.of(ed, price));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user