summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-08-29 23:40:48 -0700
committermalufett <malufett.eat.my.binaries@gmail.com>2013-08-29 23:40:48 -0700
commit9bfc9884a7df6f65d6cedf7b35897cfffb6dec45 (patch)
tree94c15c53b79a776a766c89df131d8f2588c0f552 /src/map/battle.c
parentf6fb66286e62768b488dcd4484228c67cb6c8f35 (diff)
downloadhercules-9bfc9884a7df6f65d6cedf7b35897cfffb6dec45.tar.gz
hercules-9bfc9884a7df6f65d6cedf7b35897cfffb6dec45.tar.bz2
hercules-9bfc9884a7df6f65d6cedf7b35897cfffb6dec45.tar.xz
hercules-9bfc9884a7df6f65d6cedf7b35897cfffb6dec45.zip
Follow up@c11390cbffc983b01ac9ee4af3b16ccb533dd94c
-Fixed bug#7681 -sorry guys got crossed eyed in diffing..XD
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 355065a61..4a31a9706 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1086,7 +1086,7 @@ int64 battle_calc_cardfix(int attack_type, struct block_list *src, struct block_
}
}
#ifndef RENEWAL
- if( wd.flag&BF_LONG )
+ if( wflag&BF_LONG )
cardfix = cardfix * (100 + sd->bonus.long_attack_atk_rate) / 100;
#endif
if( (cflag&1) && cardfix_ != 1000 )
@@ -4740,7 +4740,7 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
if (skill_id && (i = pc->skillatk_bonus(sd, skill_id)))
ATK_ADDRATE(i);
#ifdef RENEWAL
- if( wflag&BF_LONG )
+ if( wd.flag&BF_LONG )
ATK_ADDRATE(sd->bonus.long_attack_atk_rate);
#endif
if( (i=pc->checkskill(sd,AB_EUCHARISTICA)) > 0 &&