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
This commit is contained in:
Paradox924X 2010-11-10 20:46:18 +00:00
parent 45826cbbc5
commit a9c0bc7924

View File

@ -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)