Skip to content

Commit

Permalink
Allow custom bot health
Browse files Browse the repository at this point in the history
  • Loading branch information
osm authored and dusty-qw committed Aug 31, 2024
1 parent bcd5836 commit 2457bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2457bc1

Please sign in to comment.