summaryrefslogtreecommitdiff
path: root/src/map
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
commit065a76b7e0be60e838245d7c12a3cf4f7ac1159e (patch)
tree8feadec7aa1f9cd4c1dc764165e5735794a67ec8 /src/map
parent5782c0923247a66b431ee74748024fcc892b1e9c (diff)
downloadhercules-065a76b7e0be60e838245d7c12a3cf4f7ac1159e.tar.gz
hercules-065a76b7e0be60e838245d7c12a3cf4f7ac1159e.tar.bz2
hercules-065a76b7e0be60e838245d7c12a3cf4f7ac1159e.tar.xz
hercules-065a76b7e0be60e838245d7c12a3cf4f7ac1159e.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/branches/renewal@14457 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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)