From c12dc3125cda5599fcbadfe2492ef0015e8093f2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 31 Mar 2020 18:45:25 +0200 Subject: Better sound balance, now hardgimping --- inc/cub3d_defines.h | 4 ++-- inc/cub3d_structs.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 65d60fa..a799404 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -300,7 +300,7 @@ enum ** ====== GAMEPLAY ====== */ -# define FT_STRT_LIFE 250 +# define FT_STRT_LIFE 270 # define FT_TRAP_DAMAGE_AMOUNT 45 # define FT_HEAL_PACK_AMOUNT 20 # define FT_BOUNCE_FACTOR 4 @@ -310,7 +310,7 @@ enum # define FT_WEAP_MAX_AMMO 1000 # define FT_ENMY_STRT_LIFE 10 # define FT_ENMY_SIGHT_RANGE 7.0 -# define FT_ENMY_DAMAGE_AMOUNT 40 +# define FT_ENMY_DAMAGE_AMOUNT 15 # define FT_W_ONE_DANAGE_AMOUNT 5 # define FT_W_TWO_DANAGE_AMOUNT 2 # define FT_W_THREE_DANAGE_AMOUNT 4 diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 7aea071..a97ff2d 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -229,6 +229,7 @@ typedef struct s_bad_boy int8_t life; int8_t does; int8_t sleep; + int8_t isdead; void (*act[3])(struct s_bad_boy*, struct s_sprite*, t_map*); } t_bad_boy; -- cgit v1.2.3