From c2998c253bdc9c54cd2aaae8bf9faa52efe194e2 Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Wed, 10 Nov 2010 20:46:18 +0000 Subject: Changed the check prior to adding to the attack rate so it ensures the value is non-zero instead of not 100. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14457 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/battle.c b/src/map/battle.c index 19bea1036..b520b1d97 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1395,7 +1395,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo //Add any bonuses that modify the base baseatk+watk (pre-skills) if(sd) { - if (sd->atk_rate != 100) + if (sd->atk_rate) ATK_ADDRATE(sd->atk_rate); if(flag.cri && sd->crit_atk_rate) -- cgit v1.2.3-70-g09d2