summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-13 06:55:06 -0300
committerEuphy <euphy@rathena.org>2013-06-15 15:51:44 -0400
commit267ceb503f1e8002959f0a5b7ea49de61d1d572c (patch)
treed544b83da2a6e6f5350ba03036f76b612124ab44 /src/map/battle.h
parente721aebea358e6c480d7788911eed82b84ef523f (diff)
downloadhercules-267ceb503f1e8002959f0a5b7ea49de61d1d572c.tar.gz
hercules-267ceb503f1e8002959f0a5b7ea49de61d1d572c.tar.bz2
hercules-267ceb503f1e8002959f0a5b7ea49de61d1d572c.tar.xz
hercules-267ceb503f1e8002959f0a5b7ea49de61d1d572c.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?) */