summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-10 20:32:31 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-10 20:32:31 +0000
commit5782c0923247a66b431ee74748024fcc892b1e9c (patch)
tree08bfb179f1280f99ee5b989b6ea55d84a8334283 /src
parentd95751dcd8b3e17f773117dac3897f0cf7cb90af (diff)
downloadhercules-5782c0923247a66b431ee74748024fcc892b1e9c.tar.gz
hercules-5782c0923247a66b431ee74748024fcc892b1e9c.tar.bz2
hercules-5782c0923247a66b431ee74748024fcc892b1e9c.tar.xz
hercules-5782c0923247a66b431ee74748024fcc892b1e9c.zip
Made bAtkRate add the rate rather than setting it. (bugreport:4499)
Warning: This will break backwards compatibility for item scripts which rely on the previous effect for this (although most people assumed it added, as described in the bonus doc). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14456 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 fde6402a3..19bea1036 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1396,7 +1396,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
if(sd)
{
if (sd->atk_rate != 100)
- ATK_RATE(sd->atk_rate);
+ ATK_ADDRATE(sd->atk_rate);
if(flag.cri && sd->crit_atk_rate)
ATK_ADDRATE(sd->crit_atk_rate);