Changed plasma spread to the original version.

I don't know why it was changed, but the changed version caused
full spread rather than partial spread with the triple shot, and it
also caused the quaduple shot to be arguably worse than the triple
shot.
This commit is contained in:
onpon4 2015-04-07 21:14:30 -04:00
parent e5ed96e1c6
commit c0f3310376
1 changed files with 11 additions and 7 deletions

View File

@ -55,18 +55,22 @@ void ship_fireBullet(object *ship, int weaponType)
if (theWeapon->flags & WF_SPREAD && theWeapon->ammo[0] >= 3)
{
bullet_add(theWeapon, ship, y * 1, -2);
bullet_add(theWeapon, ship, y * 2, -1);
bullet_add(theWeapon, ship, y * 4, 1);
if(theWeapon->ammo[0] != 4)
if (theWeapon->ammo[0] != 4)
bullet_add(theWeapon, ship, y * 3, 0);
if(theWeapon->ammo[0] != 3)
else
{
bullet_add(theWeapon, ship, y * 2, -1);
bullet_add(theWeapon, ship, y * 4, 1);
bullet_add(theWeapon, ship, y * 2, 0);
bullet_add(theWeapon, ship, y * 4, 0);
}
bullet_add(theWeapon, ship, y * 5, 2);
if (theWeapon->ammo[0] == 5)
{
bullet_add(theWeapon, ship, y * 1, -2);
bullet_add(theWeapon, ship, y * 5, 2);
}
}
else
{