From 33f39cd8ef08db0007c9690992bad99edbaa1795 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 7 Jan 2024 12:24:38 +0100 Subject: zombie hit player --- include/zombies.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/zombies.h') diff --git a/include/zombies.h b/include/zombies.h index b7c7889..ec80135 100644 --- a/include/zombies.h +++ b/include/zombies.h @@ -16,13 +16,17 @@ typedef enum t_zombie_type { typedef struct t_zombie { bool alive; - float health; - float max_health; + s32 health; + s32 max_health; vec3f position; vec3f size; array path; float speed; + float attack_range; + float attack_rate; + u32 attack_damage; float sec_since_last_step; + float sec_since_last_attack; array next_path; float time_since_last_path; pathfinding_request request; -- cgit v1.2.3-70-g09d2