Brought Kline's health in the final battle back down.

The increase worked well in mission 25, but not so much in mission
26.
This commit is contained in:
onpon4 2015-03-07 17:13:37 -05:00
parent 4b3cb9c1d3
commit da35b44179
4 changed files with 11 additions and 11 deletions

View File

@ -416,15 +416,15 @@ void alien_setAI(object *alien)
void alien_setKlineAttackMethod(object *alien)
{
alien->maxShield -= 750;
alien->maxShield -= 500;
if (alien->maxShield >= 1500)
if (alien->maxShield >= 1000)
{
setRadioMessage(FACE_KLINE, "Very good, Bainfield. Now let's get a little more serious...", 1);
alien->weaponType[0] = W_SPREADSHOT;
alien->chance[1] = 40;
}
else if (alien->maxShield >= 750)
else if (alien->maxShield >= 500)
{
setRadioMessage(FACE_KLINE, "Your ability to stay alive irritates me!! Try dodging some of these!!", 1);
alien->weaponType[0] = W_DIRSHOCKMISSILE;
@ -444,7 +444,7 @@ void alien_setKlineAttackMethod(object *alien)
alien->flags &= ~FL_CANNOTDIE;
}
alien->shield = 750;
alien->shield = 500;
}
/*

View File

@ -363,7 +363,7 @@ static void alien_destroy(object *alien, object *attacker)
{
setRadioMessage(FACE_KLINE, "It was an honor... to have fought you...", 1);
alien->dx = alien->dy = 0;
alien->maxShield = 2250;
alien->maxShield = 2000;
alien->shield = -200;
}
}

View File

@ -391,12 +391,12 @@ int mainGameLoop()
{
aliens[WC_KLINE].flags |= FL_IMMORTAL | FL_NOFIRE | FL_NOMOVE;
aliens[WC_KLINE].x = screen->w * 2 / 3;
aliens[WC_KLINE].y = screen->h * 2 / 3;
aliens[WC_KLINE].x = screen->w * 3 / 4;
aliens[WC_KLINE].y = screen->h * 3 / 4;
aliens[WC_KLINE].deathCounter = -250;
aliens[WC_KLINE].maxShield = 2250;
aliens[WC_KLINE].shield = 750;
aliens[WC_KLINE].maxShield = 1500;
aliens[WC_KLINE].shield = 500;
}
for (int i = 0 ; i < MAX_ALIENS ; i++)

View File

@ -383,8 +383,9 @@ static enum keys mapkey(uint32_t code) {
case SDLK_RETURN:
case SDLK_z:
case SDLK_c:
case SDLK_f:
case SDLK_a:
case SDLK_d:
case SDLK_f:
case SDLK_SLASH:
case SDLK_COMMA:
case SDLK_1:
@ -394,7 +395,6 @@ static enum keys mapkey(uint32_t code) {
case SDLK_SPACE:
case SDLK_x:
case SDLK_s:
case SDLK_d:
case SDLK_PERIOD:
case SDLK_2:
case SDLK_KP_1: