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,8 +1084,11 @@ bool alien_add()
alienArray[5] = CD_MOBILE_RAY;
break;
case MISN_INTERCEPTION:
numberOfAliens = 3;
numberOfAliens = 1;
alienArray[0] = CD_DUALFIGHTER;
if (game.system > SYSTEM_SPIRIT)
{
numberOfAliens = 3;
alienArray[1] = CD_MISSILEBOAT;
alienArray[2] = CD_AIMFIGHTER;
if (game.system == SYSTEM_MORDOR)
@ -1093,6 +1096,7 @@ bool alien_add()
numberOfAliens = 4;
alienArray[3] = CD_PROTOFIGHTER;
}
}
break;
default:
numberOfAliens = 1;

View File

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