summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-29 05:33:20 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-29 05:33:20 +0000
commit94f3da9dd8cb31ab928b62c44e076080ade23b8b (patch)
treefb165f7c10f4a9a85f6d594d61c865e15689dacd /src/map/battle.c
parente7d01f7b12e109ac54dcc29f9d368e20512c57e6 (diff)
downloadhercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.tar.gz
hercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.tar.bz2
hercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.tar.xz
hercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.zip
* Fixed damage_level is not calculated properly on normal attack.
* Kaahi is supposed to be canceled on logout. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13978 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 17073a447..478fdfbf0 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3007,7 +3007,7 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t
if(tsc && tsc->data[SC_KAAHI] && tsc->data[SC_KAAHI]->val4 == -1)
tsc->data[SC_KAAHI]->val4 = add_timer(tick + skill_get_time2(SL_KAAHI,tsc->data[SC_KAAHI]->val1), kaahi_heal_timer, target->id, SC_KAAHI); //Activate heal.
- wd = battle_calc_weapon_attack(src, target, 0, 0, flag);
+ wd = battle_calc_attack(BF_WEAPON, src, target, 0, 0, flag);
if (sd && sd->state.arrow_atk) //Consume arrow.
battle_consume_ammo(sd, 0, 0);