summaryrefslogtreecommitdiff
path: root/src/emap/battle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-03 18:38:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-03 18:38:32 +0300
commitc558e3645f5154ee001e5ba8b295556316356ab0 (patch)
tree934ddc944e4f62390b62e3136c8c84d0e1a0ce66 /src/emap/battle.h
parent211787e349e0249fc032b3b51f8649af613f5ecf (diff)
downloadevol-hercules-c558e3645f5154ee001e5ba8b295556316356ab0.tar.gz
evol-hercules-c558e3645f5154ee001e5ba8b295556316356ab0.tar.bz2
evol-hercules-c558e3645f5154ee001e5ba8b295556316356ab0.tar.xz
evol-hercules-c558e3645f5154ee001e5ba8b295556316356ab0.zip
Add support for MinRange in item_db.
If weapon used on range smaller than MinRange, weapon not attacking.
Diffstat (limited to 'src/emap/battle.h')
-rw-r--r--src/emap/battle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emap/battle.h b/src/emap/battle.h
index 38ce379..17d7ba7 100644
--- a/src/emap/battle.h
+++ b/src/emap/battle.h
@@ -12,5 +12,9 @@ struct Damage ebattle_calc_weapon_attack_post(struct Damage retVal,
uint16 skill_id,
uint16 skill_lv,
int wflag);
+enum damage_lv ebattle_weapon_attack_pre(struct block_list **srcPtr,
+ struct block_list **targetPtr,
+ int64 *tickPtr,
+ int *flagPtr);
#endif // EVOL_MAP_BATTLE