From c90eec2595ce3e8271e35c296f8a4c2bb5493011 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 31 Mar 2020 15:06:16 +0200 Subject: Now that's what I call balance take this SC2 'balance' team haha more like sc2 zerglance team --- src/ft_damage_bad_boy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 */ } -- cgit v1.2.3