diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 16:00:38 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 16:00:38 +0000 |
commit | b3ff9c7c452aebec22005b2a3aa1e1d4e25ecf38 (patch) | |
tree | 28ec1c34dc97caa60bb9fe3cb1238a2ff705e807 | |
parent | b0537d509c8aa299147b1c4342ff33c8626c56ed (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 3 | ||||
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/status.c | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index f39809918..379e61332 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/31
+ * 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%. [Skotlex]
* Fixed a possible crash in the main script engine when restoring previous
script. [Skotlex]
* Fixed sleep.tick not being set back to 0 before resuming execution, which
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; |