summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-31 16:00:38 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-31 16:00:38 +0000
commitb3ff9c7c452aebec22005b2a3aa1e1d4e25ecf38 (patch)
tree28ec1c34dc97caa60bb9fe3cb1238a2ff705e807 /src/map/status.c
parentb0537d509c8aa299147b1c4342ff33c8626c56ed (diff)
downloadhercules-b3ff9c7c452aebec22005b2a3aa1e1d4e25ecf38.tar.gz
hercules-b3ff9c7c452aebec22005b2a3aa1e1d4e25ecf38.tar.bz2
hercules-b3ff9c7c452aebec22005b2a3aa1e1d4e25ecf38.tar.xz
hercules-b3ff9c7c452aebec22005b2a3aa1e1d4e25ecf38.zip
- Changed the variable message in parsing normal text from unsigned char to char (should shut up some compiler warnings)
- Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no information of how much the bonus should be, it currently is a conservative 10%. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8007 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4af93b2d4..9f43c73ad 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4907,6 +4907,8 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
case SC_CHASEWALK:
val2 = tick>0?tick:10000; //Interval at which SP is drained.
val3 = 65+val1*5; //Speed adjustment.
+ if (sc->data[SC_SPIRIT].timer != -1 && sc->data[SC_SPIRIT].val2 == SL_ROGUE)
+ val3 += 10; //TODO: Figure out real bonus. Temp value +10%
val4 = 10+val1*2; //SP cost.
if (map_flag_gvg(bl->m)) val4 *= 5;
break;