summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-13 06:55:06 -0300
committershennetsind <ind@henn.et>2013-06-13 06:55:06 -0300
commita6cb1ff637e5952322b5f29534a65f3f0db77e13 (patch)
treed4e3425042d5104f7d5391fec096ca3585b6e5a1 /src/map/battle.h
parente1d190ec646480348cf57c280166e9fe4b3796c0 (diff)
downloadhercules-a6cb1ff637e5952322b5f29534a65f3f0db77e13.tar.gz
hercules-a6cb1ff637e5952322b5f29534a65f3f0db77e13.tar.bz2
hercules-a6cb1ff637e5952322b5f29534a65f3f0db77e13.tar.xz
hercules-a6cb1ff637e5952322b5f29534a65f3f0db77e13.zip
Fixed Bug #7346
http://hercules.ws/board/tracker/issue-7346-battlec-error Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h2
1 files changed, 2 insertions, 0 deletions
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?) */