From 2457bc1f22923802ae2eca03dbeafc02a3e3d3fd Mon Sep 17 00:00:00 2001 From: Oscar Linderholm Date: Sun, 7 Apr 2024 07:28:29 +0200 Subject: [PATCH] Allow custom bot health --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 566360bc..970baaee 100644 --- a/src/client.c +++ b/src/client.c @@ -2139,7 +2139,7 @@ void PutClientInServer(void) self->s.v.armorvalue = self->isBot ? 0 : 200; self->s.v.armortype = self->isBot ? 0 : 0.8; - self->s.v.health = self->isBot ? 100 : 250; + self->s.v.health = self->isBot ? FrogbotHealth() : 250; items = self->s.v.items; items |= IT_NAILGUN;