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:
parent
e5ed96e1c6
commit
c0f3310376
14
src/ship.cpp
14
src/ship.cpp
|
@ -55,19 +55,23 @@ 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)
|
||||
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);
|
||||
}
|
||||
|
||||
if (theWeapon->ammo[0] == 5)
|
||||
{
|
||||
bullet_add(theWeapon, ship, y * 1, -2);
|
||||
bullet_add(theWeapon, ship, y * 5, 2);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(theWeapon->ammo[0] & 1)
|
||||
|
|
Loading…
Reference in New Issue