Increased max missiles for double homing to 15.
It's incredibly silly for it to be 10; what's the advantage of the double homing missile launcher over the regular homing missile launcher otherwise? It's just much slower and less versatile. Now it should be slightly better, because you can effectively shoot 30 missiles total, instead of just 20. (Micro homing missiles are different; the advantage of having several weak missiles instead of a smaller numer of strong missiles is actually quite significant.)
This commit is contained in:
parent
98bd62be46
commit
224b3ea8b1
|
@ -344,7 +344,7 @@ void initShop()
|
|||
|
||||
shopItems[15].price = 10000;
|
||||
strcpy(shopItems[15].name, "Dual Homing Missile Launcher");
|
||||
strcpy(shopItems[15].description, "Fires two homing missiles (max 10 missiles)");
|
||||
strcpy(shopItems[15].description, "Fires two homing missiles (max 15 missiles)");
|
||||
shopItems[15].image = 24;
|
||||
|
||||
shopItems[16].price = 15000;
|
||||
|
@ -466,7 +466,7 @@ static void buy(int i)
|
|||
{shopSelectedItem = -7; return;}
|
||||
if ((player.weaponType[1] == W_HOMING_MISSILE) && (currentGame.maxRocketAmmo >= 20))
|
||||
{shopSelectedItem = -9; return;}
|
||||
if ((player.weaponType[1] == W_DOUBLE_HOMING_MISSILES) && (currentGame.maxRocketAmmo >= 10))
|
||||
if ((player.weaponType[1] == W_DOUBLE_HOMING_MISSILES) && (currentGame.maxRocketAmmo >= 15))
|
||||
{shopSelectedItem = -9; return;}
|
||||
if ((player.weaponType[1] == W_MICRO_HOMING_MISSILES) && (currentGame.maxRocketAmmo >= 10))
|
||||
{shopSelectedItem = -9; return;}
|
||||
|
@ -516,8 +516,8 @@ static void buy(int i)
|
|||
if (player.weaponType[1] == W_DOUBLE_HOMING_MISSILES)
|
||||
{shopSelectedItem = -8; return;}
|
||||
player.weaponType[1] = W_DOUBLE_HOMING_MISSILES;
|
||||
limitChar(¤tGame.maxRocketAmmo, 5, 10);
|
||||
limitChar(&player.ammo[1], 0, 10);
|
||||
limitChar(¤tGame.maxRocketAmmo, 5, 15);
|
||||
limitChar(&player.ammo[1], 0, 15);
|
||||
shopSelectedItem = -1;
|
||||
break;
|
||||
case 16:
|
||||
|
|
Loading…
Reference in New Issue