Permit Kline to drop mines in all of his appearances.

I don't understand why there is code to prevent Kline from dropping
mines after his first appearance. So except in Classic difficulty,
this limitation has been removed. He now drops mines in all of his
appearances.
This commit is contained in:
onpon4 2016-01-08 17:37:18 -05:00
parent 54eb5230fe
commit 66faa897a5
1 changed files with 3 additions and 2 deletions

View File

@ -1394,7 +1394,7 @@ This AI is exclusively for Kline.
void alien_setKlineAI(object *alien) void alien_setKlineAI(object *alien)
{ {
// Weapon type change // Weapon type change
if ((rand() % 3) == 0) if (CHANCE(1. / 3.))
{ {
if (game.area != MISN_VENUS) if (game.area != MISN_VENUS)
{ {
@ -1430,7 +1430,8 @@ void alien_setKlineAI(object *alien)
case 2: case 2:
// Kline only attacks then he is ready! // Kline only attacks then he is ready!
if ((!(alien->flags & FL_NOFIRE)) && if ((!(alien->flags & FL_NOFIRE)) &&
(game.area == MISN_MOEBO)) ((game.area == MISN_MOEBO) ||
game.difficulty != DIFFICULTY_ORIGINAL))
alien->flags |= FL_DROPMINES; alien->flags |= FL_DROPMINES;
break; break;
case 3: case 3: