Restored Kline's original health for Classic difficulty.

This commit is contained in:
onpon4 2016-11-27 23:39:41 -05:00
parent cf034ffa4a
commit ac5daa5d08
1 changed files with 2 additions and 2 deletions

View File

@ -1878,7 +1878,7 @@ void alien_hurt(Object *alien, Object *attacker, int damage, int ion)
{
if (game.area == MISN_ELAMALE)
{
if ((alien->shield <= alien->maxShield - 500) &&
if ((alien->shield <= alien->maxShield - ((game.difficulty != DIFFICULTY_ORIGINAL) ? 500 : 750)) &&
!(alien->flags & FL_LEAVESECTOR))
{
alien->flags |= FL_LEAVESECTOR;
@ -1888,7 +1888,7 @@ void alien_hurt(Object *alien, Object *attacker, int damage, int ion)
}
else if (game.area == MISN_EARTH)
{
if ((alien->shield <= alien->maxShield - 750) &&
if ((alien->shield <= alien->maxShield - ((game.difficulty != DIFFICULTY_ORIGINAL) ? 750 : 500)) &&
!(alien->flags & FL_LEAVESECTOR))
{
alien->flags |= FL_LEAVESECTOR;