Made ATAFs immortal by default.

This commit is contained in:
Steve 2016-07-27 08:44:02 +01:00
parent 9ee3968787
commit c62810bf4b
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,6 @@
} }
], ],
"missiles" : 4, "missiles" : 4,
"flags" : "EF_NO_EPIC+EF_TAKES_DAMAGE", "flags" : "EF_NO_EPIC+EF_TAKES_DAMAGE+EF_IMMORTAL",
"aiFlags" : "AIF_UNLIMITED_RANGE" "aiFlags" : "AIF_UNLIMITED_RANGE"
} }

View File

@ -88,6 +88,7 @@ void initPlayer(void)
battle.ecmTimer = ECM_RECHARGE_TIME; battle.ecmTimer = ECM_RECHARGE_TIME;
player->flags |= EF_NO_HEALTH_BAR; player->flags |= EF_NO_HEALTH_BAR;
player->flags &= ~EF_IMMORTAL;
game.stats[STAT_EPIC_KILL_STREAK] = MAX(game.stats[STAT_EPIC_KILL_STREAK], battle.stats[STAT_EPIC_KILL_STREAK]); game.stats[STAT_EPIC_KILL_STREAK] = MAX(game.stats[STAT_EPIC_KILL_STREAK], battle.stats[STAT_EPIC_KILL_STREAK]);