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:
onpon4 2015-02-28 19:06:11 -05:00
parent 98bd62be46
commit 224b3ea8b1
1 changed files with 4 additions and 4 deletions

View File

@ -344,7 +344,7 @@ void initShop()
shopItems[15].price = 10000; shopItems[15].price = 10000;
strcpy(shopItems[15].name, "Dual Homing Missile Launcher"); 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[15].image = 24;
shopItems[16].price = 15000; shopItems[16].price = 15000;
@ -466,7 +466,7 @@ static void buy(int i)
{shopSelectedItem = -7; return;} {shopSelectedItem = -7; return;}
if ((player.weaponType[1] == W_HOMING_MISSILE) && (currentGame.maxRocketAmmo >= 20)) if ((player.weaponType[1] == W_HOMING_MISSILE) && (currentGame.maxRocketAmmo >= 20))
{shopSelectedItem = -9; return;} {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;} {shopSelectedItem = -9; return;}
if ((player.weaponType[1] == W_MICRO_HOMING_MISSILES) && (currentGame.maxRocketAmmo >= 10)) if ((player.weaponType[1] == W_MICRO_HOMING_MISSILES) && (currentGame.maxRocketAmmo >= 10))
{shopSelectedItem = -9; return;} {shopSelectedItem = -9; return;}
@ -516,8 +516,8 @@ static void buy(int i)
if (player.weaponType[1] == W_DOUBLE_HOMING_MISSILES) if (player.weaponType[1] == W_DOUBLE_HOMING_MISSILES)
{shopSelectedItem = -8; return;} {shopSelectedItem = -8; return;}
player.weaponType[1] = W_DOUBLE_HOMING_MISSILES; player.weaponType[1] = W_DOUBLE_HOMING_MISSILES;
limitChar(&currentGame.maxRocketAmmo, 5, 10); limitChar(&currentGame.maxRocketAmmo, 5, 15);
limitChar(&player.ammo[1], 0, 10); limitChar(&player.ammo[1], 0, 15);
shopSelectedItem = -1; shopSelectedItem = -1;
break; break;
case 16: case 16: