From 3b22489413553e837a7da437b2c3cd69823095ab Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Wed, 13 Sep 2023 18:34:03 -0600 Subject: maresciallo gun and missile stuff in different procedures --- src/entities/maresciallo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/entities/maresciallo.h') diff --git a/src/entities/maresciallo.h b/src/entities/maresciallo.h index a88910c..d1d17af 100644 --- a/src/entities/maresciallo.h +++ b/src/entities/maresciallo.h @@ -9,12 +9,16 @@ #define MARESCIALLO_ROTATION_SPEED 20.0 #define MARESCIALLO_CIRCLE_PLAYER_SPEED 1.0 -#define MARESCIALLO_COOLDOWN 3.0 +#define MARESCIALLO_BULLET_COOLDOWN 3.0 #define MARESCIALLO_BULLET_DAMAGE 0.01 +#define MARESCIALLO_CHANGE_OF_HIT 10 + +#define MARESCIALLO_MISSILE_COOLDOWN 3.0 typedef struct Maresciallo { EntityFlyToPointInfo flyToPoint; double timeSinceLastBulletShot; + double timeSinceLastMissileShot; } Maresciallo; void initMaresciallo(Entity * entity, Game * game); -- cgit v1.2.3