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:
onpon4 2015-03-06 11:48:45 -05:00
parent 50122bb0ef
commit cbfd6ff153
1 changed files with 7 additions and 0 deletions

View File

@ -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);