summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-10 20:46:18 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-10 20:46:18 +0000
commitc2998c253bdc9c54cd2aaae8bf9faa52efe194e2 (patch)
treeb59b6becb5cd61cfd22451d49307ceb5b22adf22 /src
parent1fb8ea107a7b638e3b785364d69fc18f05a99c2b (diff)
downloadhercules-c2998c253bdc9c54cd2aaae8bf9faa52efe194e2.tar.gz
hercules-c2998c253bdc9c54cd2aaae8bf9faa52efe194e2.tar.bz2
hercules-c2998c253bdc9c54cd2aaae8bf9faa52efe194e2.tar.xz
hercules-c2998c253bdc9c54cd2aaae8bf9faa52efe194e2.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
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)