From 3ae8a2a717cbcae3d1fbefbee945ee21e99623dd Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 1 May 2018 08:40:57 +0100 Subject: [PATCH] Give enemies more health in Plus mode. --- src/entities/unit.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/entities/unit.c b/src/entities/unit.c index b6b05f9..9a34c69 100644 --- a/src/entities/unit.c +++ b/src/entities/unit.c @@ -79,6 +79,11 @@ static void init(void) { u->canCarryItem = 1; u->health = u->healthMax = rrnd(1, 4); + + if (game.plus) + { + u->health = u->healthMax = rrnd(4, 8); + } } }