Make permanent upgrades cost more when you don't have the temporary ones.
The way it was previously, it was tactically beneficial to ignore temporary upgrades, if you were going to do a permanent upgrade to that level anyway. This is silly. Now, you don't lose anything by making the temporary upgrade first. You just get lesser access to the upgrade earlier on.
This commit is contained in:
parent
50122bb0ef
commit
cbfd6ff153
|
@ -77,6 +77,13 @@ static void adjustShopPrices()
|
|||
shopItems[6].price = (2000 * currentGame.minPlasmaDamage);
|
||||
shopItems[7].price = (2000 * currentGame.minPlasmaRate);
|
||||
|
||||
if (currentGame.maxPlasmaOutput <= currentGame.minPlasmaOutput)
|
||||
shopItems[5].price += shopItems[0].price;
|
||||
if (currentGame.maxPlasmaDamage <= currentGame.minPlasmaDamage)
|
||||
shopItems[6].price += shopItems[1].price;
|
||||
if (currentGame.maxPlasmaRate <= currentGame.minPlasmaRate)
|
||||
shopItems[7].price += shopItems[2].price;
|
||||
|
||||
shopItems[8].price = (5 * currentGame.maxPlasmaAmmo);
|
||||
shopItems[9].price = (25 * currentGame.maxRocketAmmo);
|
||||
|
||||
|
|
Loading…
Reference in New Issue