Completely eliminate the chance of grinding at interceptions.
It was previously just ineffective. Now it's impossible. The reason I'm doing this is when you *can* grind (in this case, by constantly getting free plasma and selling it), it kind of feels like an obligation to do so. It's still possible to grind within missions whose progress depends on your pace, which aren't timed and keep generating more enemies until you win. Namely: the missile boat mission, the miner mission, and the third boss. (There might be others.) However, grinding in these situations is quite dangerous and likely to take away the much larger shield bonus at the end, and plus if you mess up when trying to do this you're set back quite a bit, so I think these are sufficiently worthless activities that no one will do them. (I never did.)
This commit is contained in:
parent
cc68479156
commit
2eaa3b94c2
|
@ -233,8 +233,11 @@ bool addAlien()
|
||||||
randEnemy = CD_SLAVETRANSPORT;
|
randEnemy = CD_SLAVETRANSPORT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((rand() % 6) == 0)
|
if (currentGame.area != MAX_MISSIONS - 1)
|
||||||
randEnemy = CD_TRANSPORTSHIP;
|
{
|
||||||
|
if ((rand() % 6) == 0)
|
||||||
|
randEnemy = CD_TRANSPORTSHIP;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delete[] alienArray;
|
delete[] alienArray;
|
||||||
|
|
|
@ -61,18 +61,20 @@ void addCollectable(float x, float y, int type, int value, int life)
|
||||||
if (type == P_SUPER)
|
if (type == P_SUPER)
|
||||||
value = 1;
|
value = 1;
|
||||||
|
|
||||||
/*
|
|
||||||
Cash is rare on interceptions. Stops people from point leeching(!)
|
|
||||||
*/
|
|
||||||
if ((currentGame.area == MAX_MISSIONS - 1) && (type == P_CASH))
|
|
||||||
{
|
|
||||||
if (rand() % 10 > 0)
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (value == 0)
|
if (value == 0)
|
||||||
return; // don't bother!
|
return; // don't bother!
|
||||||
|
|
||||||
|
/*
|
||||||
|
No cash, powerups, or ammo on interceptions. Stops point leeching(!)
|
||||||
|
*/
|
||||||
|
if ((currentGame.area == MAX_MISSIONS - 1) &&
|
||||||
|
((type == P_CASH) || (type == P_PLASMA_AMMO) || (type == P_ROCKET) ||
|
||||||
|
(type == P_PLASMA_DAMAGE) || (type == P_PLASMA_SHOT) ||
|
||||||
|
(type == P_PLASMA_RATE) || (type == P_SUPER)))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// If the player has a charge cannon or a laser cannon, don't give them
|
// If the player has a charge cannon or a laser cannon, don't give them
|
||||||
// rockets. Causes problems otherwise :)
|
// rockets. Causes problems otherwise :)
|
||||||
if (type == P_ROCKET)
|
if (type == P_ROCKET)
|
||||||
|
|
Loading…
Reference in New Issue