summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-06 09:36:53 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-06 09:36:53 +0000
commit5ea47a97effd6c094d9f295eb8100a9d408a9f7d (patch)
treec956d458f184794685761dc4ad48833a09f2f730 /src/map
parent30899d3e29a02162c8ece5e0fca0fd05fcd10be1 (diff)
downloadhercules-5ea47a97effd6c094d9f295eb8100a9d408a9f7d.tar.gz
hercules-5ea47a97effd6c094d9f295eb8100a9d408a9f7d.tar.bz2
hercules-5ea47a97effd6c094d9f295eb8100a9d408a9f7d.tar.xz
hercules-5ea47a97effd6c094d9f295eb8100a9d408a9f7d.zip
Applied Orn's modification on speed increases/reductions with increase/decrease agi
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8647 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index aa2c591c7..4ec104200 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -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)