summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 19:05:34 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 19:05:34 +0000
commite0c532fc98f099e9ae82ffd2423673748117500c (patch)
treefb1cc44f9e3aac581abced5d7de74159767f0186 /src/map/status.c
parentdb67fc53edf96f4fe837afc85733ed958b92f5b2 (diff)
downloadhercules-e0c532fc98f099e9ae82ffd2423673748117500c.tar.gz
hercules-e0c532fc98f099e9ae82ffd2423673748117500c.tar.bz2
hercules-e0c532fc98f099e9ae82ffd2423673748117500c.tar.xz
hercules-e0c532fc98f099e9ae82ffd2423673748117500c.zip
Changed Union/Increase AGI stack fix (it should work now). (bugreport:1155)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12506 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 1013a711f..bd2884569 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3721,18 +3721,14 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
if(sc->data[SC_RUN])
speed -= speed * 50/100;
+ else if(sc->data[SC_INCREASEAGI] && sc->data[SC_FUSION])
+ speed -= speed * 50/100;
else if(sc->data[SC_SPEEDUP0])
speed -= speed * 25/100;
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])