diff options
author | shennetsind <ind@henn.et> | 2013-11-18 23:26:04 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-18 23:26:04 -0200 |
commit | 35c05d58e13dc9637d4151087aee009991bef407 (patch) | |
tree | 273a775ffcb4fd53e680c3d9da118b3447b8393f /src/map | |
parent | dd2cd7c0f1c1f675ece09e95d0e5f910e494f092 (diff) | |
download | hercules-35c05d58e13dc9637d4151087aee009991bef407.tar.gz hercules-35c05d58e13dc9637d4151087aee009991bef407.tar.bz2 hercules-35c05d58e13dc9637d4151087aee009991bef407.tar.xz hercules-35c05d58e13dc9637d4151087aee009991bef407.zip |
Fixed Bug 7819 - Renewal Elemental Damage
Special Thanks to Michieru for gathering official server data and testing.
http://hercules.ws/board/tracker/issue-7819-element-tables/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/battle.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index b44bc353e..53544d66b 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -4696,11 +4696,7 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list if( (i = battle->adjust_skill_damage(src->m,skill_id)) ) ATK_RATE(i); - #ifdef RENEWAL - if( skill_id && (wd.damage+wd.damage2) ){ - RE_SKILL_REDUCTION(); - } - #endif + if( sd ) { if (skill_id && (i = pc->skillatk_bonus(sd, skill_id))) ATK_ADDRATE(i); |