From 9588ded8d76e720299ad9d1b254409e715164b81 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Fri, 10 Nov 2023 12:19:50 -0700 Subject: Making changes to the guns and fine tuning --- src/entities/caporale.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/entities/caporale.h') diff --git a/src/entities/caporale.h b/src/entities/caporale.h index ac4be6f..18bacbc 100644 --- a/src/entities/caporale.h +++ b/src/entities/caporale.h @@ -6,15 +6,17 @@ #ifndef CAPORALE_H #define CAPORALE_H -#define CAPORALE_COOLDOWN 0.5 +#define CAPORALE_COOLDOWN 1.0 #define CAPORALE_BULLET_DAMAGE 0.01 -#define CAPORALE_CHANGE_OF_HIT 10 +#define CAPORALE_GUN_TARGETING_SPEED 20.0 #define CAPORALE_LOW_HEALTH_THRESHOLD 0.9 #define CAPORALE_LOW_HEALTH_BULLET_DAMAGE 0.02 typedef struct Caporale { EntityFlyToPointInfo flyToPlayer; double timeSinceLastShot; + + Vector3 gunTarget; } Caporale; void initCaporale(Entity * entity, Game * game); -- cgit v1.2.3