Don't combine temporary and permanent upgrade price in Classic difficulty.
This commit is contained in:
parent
c1d5a9c9c6
commit
cf034ffa4a
14
src/shop.cpp
14
src/shop.cpp
|
@ -104,14 +104,14 @@ static void adjustShopPrices()
|
||||||
shopItems[SHOP_PLASMA_MIN_OUTPUT].price = 1500 * (game.minPlasmaOutput + 1);
|
shopItems[SHOP_PLASMA_MIN_OUTPUT].price = 1500 * (game.minPlasmaOutput + 1);
|
||||||
shopItems[SHOP_PLASMA_MIN_DAMAGE].price = 1500 * (game.minPlasmaDamage + 1);
|
shopItems[SHOP_PLASMA_MIN_DAMAGE].price = 1500 * (game.minPlasmaDamage + 1);
|
||||||
shopItems[SHOP_PLASMA_MIN_RATE].price = 1500 * (game.minPlasmaRate + 1);
|
shopItems[SHOP_PLASMA_MIN_RATE].price = 1500 * (game.minPlasmaRate + 1);
|
||||||
}
|
|
||||||
|
|
||||||
if (game.maxPlasmaOutput <= game.minPlasmaOutput)
|
if (game.maxPlasmaOutput <= game.minPlasmaOutput)
|
||||||
shopItems[SHOP_PLASMA_MIN_OUTPUT].price += shopItems[SHOP_PLASMA_MAX_OUTPUT].price;
|
shopItems[SHOP_PLASMA_MIN_OUTPUT].price += shopItems[SHOP_PLASMA_MAX_OUTPUT].price;
|
||||||
if (game.maxPlasmaDamage <= game.minPlasmaDamage)
|
if (game.maxPlasmaDamage <= game.minPlasmaDamage)
|
||||||
shopItems[SHOP_PLASMA_MIN_DAMAGE].price += shopItems[SHOP_PLASMA_MAX_DAMAGE].price;
|
shopItems[SHOP_PLASMA_MIN_DAMAGE].price += shopItems[SHOP_PLASMA_MAX_DAMAGE].price;
|
||||||
if (game.maxPlasmaRate <= game.minPlasmaRate)
|
if (game.maxPlasmaRate <= game.minPlasmaRate)
|
||||||
shopItems[SHOP_PLASMA_MIN_RATE].price += shopItems[SHOP_PLASMA_MAX_RATE].price;
|
shopItems[SHOP_PLASMA_MIN_RATE].price += shopItems[SHOP_PLASMA_MAX_RATE].price;
|
||||||
|
}
|
||||||
|
|
||||||
shopItems[SHOP_PLASMA_MAX_AMMO].price = (10 * (game.maxPlasmaAmmo - 75));
|
shopItems[SHOP_PLASMA_MAX_AMMO].price = (10 * (game.maxPlasmaAmmo - 75));
|
||||||
shopItems[SHOP_ROCKET_MAX_AMMO].price = (25 * game.maxRocketAmmo);
|
shopItems[SHOP_ROCKET_MAX_AMMO].price = (25 * game.maxRocketAmmo);
|
||||||
|
|
Loading…
Reference in New Issue