summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-07-08 22:24:37 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-07-08 22:24:37 +0800
commitc6351f0b3d148169d0ecc00c938376c5b8225532 (patch)
tree55d98eccf50f63582128637abf82bbda574f4c11 /src/map/battle.c
parent4abfdc61a3031db5701613807bcd4ecee4434a00 (diff)
downloadhercules-c6351f0b3d148169d0ecc00c938376c5b8225532.tar.gz
hercules-c6351f0b3d148169d0ecc00c938376c5b8225532.tar.bz2
hercules-c6351f0b3d148169d0ecc00c938376c5b8225532.tar.xz
hercules-c6351f0b3d148169d0ecc00c938376c5b8225532.zip
Fixed missing eatk in RE.(Thanks to Michieru)
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
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 b25971c4c..d90ba5e0c 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -461,7 +461,7 @@ int battle_calc_weapon_damage(struct block_list *src, struct block_list *bl, uin
}
// Temporary. [malufett]
- damage = battle->calc_elefix(src, bl, skill_id, skill_lv, damage, nk, n_ele, s_ele, s_ele_, type == EQI_HAND_L, flag);
+ damage = battle->calc_elefix(src, bl, skill_id, skill_lv, damage + eatk, nk, n_ele, s_ele, s_ele_, type == EQI_HAND_L, flag);
/**
* In RE Shield Bommerang takes weapon element only for damage calculation,