diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-03 18:38:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-03 18:38:32 +0300 |
commit | c558e3645f5154ee001e5ba8b295556316356ab0 (patch) | |
tree | 934ddc944e4f62390b62e3136c8c84d0e1a0ce66 /src/emap/battle.h | |
parent | 211787e349e0249fc032b3b51f8649af613f5ecf (diff) | |
download | plugin-c558e3645f5154ee001e5ba8b295556316356ab0.tar.gz plugin-c558e3645f5154ee001e5ba8b295556316356ab0.tar.bz2 plugin-c558e3645f5154ee001e5ba8b295556316356ab0.tar.xz plugin-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.h | 4 |
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 |