From e0c532fc98f099e9ae82ffd2423673748117500c Mon Sep 17 00:00:00 2001 From: Kevin Date: Sun, 6 Apr 2008 19:05:34 +0000 Subject: 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 --- src/map/status.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') 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]) -- cgit v1.2.3-70-g09d2