From b3ff9c7c452aebec22005b2a3aa1e1d4e25ecf38 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 31 Jul 2006 16:00:38 +0000 Subject: - 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 --- src/map/clif.c | 2 +- src/map/status.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map') 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 .w .?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; -- cgit v1.2.3-70-g09d2