summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 03:03:13 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 03:03:13 +0000
commitae10f5471926661984cd90392023af97c3d69fee (patch)
tree9555c019016581181cc425dafefea89bccbce72c /src
parentd66ed8a1eb80638733a64ac174b8f613952b053a (diff)
downloadhercules-ae10f5471926661984cd90392023af97c3d69fee.tar.gz
hercules-ae10f5471926661984cd90392023af97c3d69fee.tar.bz2
hercules-ae10f5471926661984cd90392023af97c3d69fee.tar.xz
hercules-ae10f5471926661984cd90392023af97c3d69fee.zip
Union and Increase AGI now stack. (bugreport:1155)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12502 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4db508cb2..d9c72c123 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3725,7 +3725,13 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
else if(sc->data[SC_INCREASEAGI])
speed -= speed * 25/100;
else if(sc->data[SC_FUSION])
+ {
speed -= speed * 25/100;
+
+ //Union and Increase AGI should stack [Kevin]
+ if(sc->data[SC_INCREASEAGI])
+ speed -= speed * 25/100;
+ }
else if(sc->data[SC_CARTBOOST])
speed -= speed * 20/100;
else if(sc->data[SC_BERSERK])