From 9bfc9884a7df6f65d6cedf7b35897cfffb6dec45 Mon Sep 17 00:00:00 2001 From: malufett Date: Thu, 29 Aug 2013 23:40:48 -0700 Subject: Follow up@c11390cbffc983b01ac9ee4af3b16ccb533dd94c -Fixed bug#7681 -sorry guys got crossed eyed in diffing..XD --- src/map/battle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 && -- cgit v1.2.3-70-g09d2