summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/status.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 95b50fcb2..7d6e9b1fe 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8605,7 +8605,7 @@ void clif_parse_GetCharNameRequest(int fd, struct map_session_data *sd) {
*------------------------------------------
*/
void clif_parse_GlobalMessage(int fd, struct map_session_data *sd) { // S 008c <len>.w <str>.?B
- unsigned char *message, *buf, buf2[128];
+ char *message, *buf, buf2[128];
RFIFOHEAD(fd);
WFIFOHEAD(fd, RFIFOW(fd,2) + 4);
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;