Applied Orn's modification on speed increases/reductions with increase/decrease agi

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8647 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
toms 2006-09-06 09:36:53 +00:00
parent bea0a8c46e
commit bcd6f5aadc
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/09/06
* Applied Orn's modification on speed increases/reductions with increase/
decrease agi [Toms]
2006/09/05
* Removed setting mob_show_hp, it's been replaced now by mob_show_info,
which can be used to specify what kind of info should be displayed from a

View File

@ -3620,7 +3620,7 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
else if(sc->data[SC_SPEEDUP0].timer!=-1)
speed -= speed * 25/100;
else if(sc->data[SC_INCREASEAGI].timer!=-1)
speed -= speed * 25/100;
speed -= (sc->data[SC_INCREASEAGI].val1 * 5)/2; //[orn]
else if(sc->data[SC_FUSION].timer != -1)
speed -= speed * 25/100;
else if(sc->data[SC_CARTBOOST].timer!=-1)
@ -3636,7 +3636,7 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
if(sc->data[SC_DANCING].timer!=-1 && sc->data[SC_DANCING].val3&0xFFFF)
speed += speed*(sc->data[SC_DANCING].val3&0xFFFF)/100;
if(sc->data[SC_DECREASEAGI].timer!=-1)
speed = speed * 100/75;
speed += (sc->data[SC_DECREASEAGI].val1 * 5)/2; //[orn]
if(sc->data[SC_STEELBODY].timer!=-1)
speed = speed * 100/75;
if(sc->data[SC_QUAGMIRE].timer!=-1)