aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_damage_bad_boy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_damage_bad_boy.c')
-rw-r--r--src/ft_damage_bad_boy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ft_damage_bad_boy.c b/src/ft_damage_bad_boy.c
index c8a04fa..b6eb7df 100644
--- a/src/ft_damage_bad_boy.c
+++ b/src/ft_damage_bad_boy.c
@@ -37,9 +37,10 @@ void
id = ft_get_bad_boy_id(cl);
if (cl->plist.handles_weapon == 0)
cl->bad_boy[id].life -= FT_W_ONE_DANAGE_AMOUNT;
- else if (cl->plist.handles_weapon == 1)
- cl->bad_boy[id].life -= FT_W_TWO_DANAGE_AMOUNT;
else if (cl->plist.handles_weapon == 2)
+ cl->bad_boy[id].life -= FT_W_TWO_DANAGE_AMOUNT;
+ else if (cl->plist.handles_weapon == 4)
cl->bad_boy[id].life -= FT_W_THREE_DANAGE_AMOUNT;
+ ft_printf("%hhd\n", cl->bad_boy[0].life);
/* TODO: sfx enemy scream and death */
}