v2.2.0: fixed second upgrade costing 1500 favor instead of 2k

This commit is contained in:
Evan Debenham
2023-09-28 10:48:27 -04:00
parent d67770f13e
commit 9871a99979
@@ -375,7 +375,7 @@ public class WndBlacksmith extends Window {
public void onSelect(Item item) {
if (item != null) {
item.upgrade();
int upgradeCost = Blacksmith.Quest.upgrades == 0 ? 1000 : 1500;
int upgradeCost = 1000 * (int)Math.pow(2, Blacksmith.Quest.upgrades);
Blacksmith.Quest.favor -= upgradeCost;
Blacksmith.Quest.upgrades++;