From b89c65cfed23a8a13fa7b1897d6b92e7427567bb Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 6 Dec 2006 15:52:01 +0000 Subject: - Fixed the compile error when trying to build the ladmin exe. - When GM skill unconditional is set, the arrow state of the skill will be calculated, this fixes all skills getting stuck on arrow-type after you attack normally. - Alchemist famous potions get their 50% bonus on top of the natural bonuses as a 1.5x type of bonus instead of adding linearly on top of your vit bonus (which would mean equal bonus of raising your vit by 25). - Fixed the va_arg(va, char) warning that said the program would abort when it's reached o.O; made it read a int which is then casted to char. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9420 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index f987e69d0..378e46796 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7883,6 +7883,8 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t sd->skillitem != skill) { //GMs don't override the skillItem check, otherwise they can use items without them being consumed! [Skotlex] sd->skillitem = sd->skillitemlv = 0; + //Need to do arrow state check. + sd->state.arrow_atk = skill_get_ammotype(skill)?1:0; return 1; } -- cgit v1.2.3-60-g2f50