From a6cb1ff637e5952322b5f29534a65f3f0db77e13 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 13 Jun 2013 06:55:06 -0300 Subject: Fixed Bug #7346 http://hercules.ws/board/tracker/issue-7346-battlec-error Signed-off-by: shennetsind --- src/map/battle.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index bbe723f36..02d21ed69 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -503,8 +503,10 @@ struct battle_interface { int (*calc_skillratio) (int attack_type, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int skillratio, int flag); /* applies size modifiers */ int (*calc_sizefix) (struct map_session_data *sd, int damage, int type, int size, bool ignore); +#ifdef RENEWAL /* get weapon damage */ int (*calc_weapon_damage) (struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, struct weapon_atk *watk, int nk, bool n_ele, short s_ele, short s_ele_, int size, int type, int flag, int flag2); +#endif /* applies defense reductions */ int (*calc_defense) (int attack_type, struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv, int damage, int flag, int pdef); /* get master (who does this unit respond to?) */ -- cgit v1.2.3-60-g2f50