From a3158d2110a2a846d39a5ddc364adb40c212241d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 31 Aug 2016 23:50:14 +0300 Subject: Add into mob_db weapot type attacks modifier. New group in mob_db: WeaponAttacks Example: WeaponAttacks: { Bows: 5000 // mean bow attack do 50% of normal attack } Default value is 10000 mean 100% --- src/emap/battle.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/emap/battle.h') diff --git a/src/emap/battle.h b/src/emap/battle.h index 7ab2db2..38ce379 100644 --- a/src/emap/battle.h +++ b/src/emap/battle.h @@ -6,5 +6,11 @@ bool ebattle_check_arrows_post(bool retVal, struct map_session_data *sd); +struct Damage ebattle_calc_weapon_attack_post(struct Damage retVal, + struct block_list *src, + struct block_list *target, + uint16 skill_id, + uint16 skill_lv, + int wflag); #endif // EVOL_MAP_BATTLE -- cgit v1.2.3-60-g2f50