summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorcsnv <ctt@csnv.es>2014-09-23 22:56:48 +0200
committercsnv <ctt@csnv.es>2014-09-23 22:56:48 +0200
commit32ecd8c9dfa5dc63e9debcc12a504d73c78e7b48 (patch)
tree0250bb81b5ba9c65a023a6ee050b7c896e85114b /src/map
parent2bc31ad003a8c3283043c62d012a57edde794fba (diff)
downloadhercules-32ecd8c9dfa5dc63e9debcc12a504d73c78e7b48.tar.gz
hercules-32ecd8c9dfa5dc63e9debcc12a504d73c78e7b48.tar.bz2
hercules-32ecd8c9dfa5dc63e9debcc12a504d73c78e7b48.tar.xz
hercules-32ecd8c9dfa5dc63e9debcc12a504d73c78e7b48.zip
Fixes card increment damage on Renewal. Bug 8364
http://hercules.ws/board/tracker/issue-8364-about-damage-on-race-card/
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index c511c5885..cbc9b2c78 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5105,6 +5105,7 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
}
#endif
+#ifndef RENEWAL // Offensive damage increment in renewal is done somewhere else
if (sd) {
if (skill_id != CR_SHIELDBOOMERANG) //Only Shield boomerang doesn't takes the Star Crumbs bonus.
ATK_ADD2(wd.div_*sd->right_weapon.star, wd.div_*sd->left_weapon.star);
@@ -5126,7 +5127,7 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
ATK_ADD(10*sd->status.inventory[index].refine);
}
}
-
+#endif
//Card Fix, tsd side
if(tsd){ //if player on player then it was already measured above
wd.damage = battle->calc_cardfix(BF_WEAPON, src, target, nk, s_ele, s_ele_, wd.damage, (flag.lh?1:0), wd.flag);