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;
break;
case MISN_INTERCEPTION:
numberOfAliens = 3;
numberOfAliens = 1;
alienArray[0] = CD_DUALFIGHTER;
alienArray[1] = CD_MISSILEBOAT;
alienArray[2] = CD_AIMFIGHTER;
if (game.system == SYSTEM_MORDOR)
if (game.system > SYSTEM_SPIRIT)
{
numberOfAliens = 4;
alienArray[3] = CD_PROTOFIGHTER;
numberOfAliens = 3;
alienArray[1] = CD_MISSILEBOAT;
alienArray[2] = CD_AIMFIGHTER;
if (game.system == SYSTEM_MORDOR)
{
numberOfAliens = 4;
alienArray[3] = CD_PROTOFIGHTER;
}
}
break;
default:

View File

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