瀏覽代碼

- 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://svn.code.sf.net/p/rathena/svn/trunk@8007 54d463be-8e91-2dee-dedb-b68131a5f0ec

skotlex 19 年之前
父節點
當前提交
2fd9920c75
共有 3 個文件被更改,包括 6 次插入1 次删除
  1. 3 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/clif.c
  3. 2 0
      src/map/status.c

+ 3 - 0
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

+ 1 - 1
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);
 

+ 2 - 0
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;