From a9c0bc7924a706c4ca5571c9dd0fd724302f3e00 Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Wed, 10 Nov 2010 20:46:18 +0000 Subject: [PATCH] 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://svn.code.sf.net/p/rathena/svn/branches/renewal@14457 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/battle.c b/src/map/battle.c index 19bea10360..b520b1d97b 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)