Added a small chance of getting intercepted in Spirit.

These interceptions only have "dualfighters" on them, since that is
in-line with the normal difficulty of Spirit.
This commit is contained in:
onpon4 2016-01-09 10:26:15 -05:00
parent 0fb3c04b5e
commit 8793aaa780
2 changed files with 14 additions and 7 deletions

View File

@ -1084,14 +1084,18 @@ bool alien_add()
alienArray[5] = CD_MOBILE_RAY; alienArray[5] = CD_MOBILE_RAY;
break; break;
case MISN_INTERCEPTION: case MISN_INTERCEPTION:
numberOfAliens = 3; numberOfAliens = 1;
alienArray[0] = CD_DUALFIGHTER; alienArray[0] = CD_DUALFIGHTER;
alienArray[1] = CD_MISSILEBOAT; if (game.system > SYSTEM_SPIRIT)
alienArray[2] = CD_AIMFIGHTER;
if (game.system == SYSTEM_MORDOR)
{ {
numberOfAliens = 4; numberOfAliens = 3;
alienArray[3] = CD_PROTOFIGHTER; alienArray[1] = CD_MISSILEBOAT;
alienArray[2] = CD_AIMFIGHTER;
if (game.system == SYSTEM_MORDOR)
{
numberOfAliens = 4;
alienArray[3] = CD_PROTOFIGHTER;
}
} }
break; break;
default: default:

View File

@ -1213,7 +1213,10 @@ int intermission()
switch (game.system) switch (game.system)
{ {
case SYSTEM_SPIRIT: case SYSTEM_SPIRIT:
interceptionChance = 0; if (game.difficulty == DIFFICULTY_ORIGINAL)
interceptionChance = 0;
else
interceptionChance = 1. / 600.;
break; break;
case SYSTEM_EYANANTH: case SYSTEM_EYANANTH:
interceptionChance = 1. / 300.; interceptionChance = 1. / 300.;