Changed Union/Increase AGI stack fix (it should work now). (bugreport:1155)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12506 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Kevin 2008-04-06 19:05:34 +00:00
parent bc0873f681
commit 92ca769f02
2 changed files with 3 additions and 6 deletions

View File

@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/04/06
* Changed Union/Increase AGI stack fix (it should work now). (r12506) [Kevin]
* Fixed seven wind not allowing ghost/shadow. (r12505) [Kevin]
* Added Moscovia to the list of @go destinations [Toms]
2008/04/05

View File

@ -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])