瀏覽代碼

- Added SC_BLADESTOP to the switch listing in status_change_start
- Characters in vending are now always considered "idle" if the idle_no_share setting is active.
- Corrected 10 Geminis spawning in Lhz1 rather than 2.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6595 54d463be-8e91-2dee-dedb-b68131a5f0ec

skotlex 19 年之前
父節點
當前提交
125e05d3cd
共有 7 個文件被更改,包括 9 次插入11 次删除
  1. 3 0
      Changelog-Trunk.txt
  2. 1 1
      conf-tmpl/battle/party.conf
  3. 2 0
      npc/Changelog.txt
  4. 1 1
      npc/mobs/dungeons/lhzdun.txt
  5. 0 8
      src/map/clif.c
  6. 1 1
      src/map/party.c
  7. 1 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/05/15
+	* Added SC_BLADESTOP to the switch listing in status_change_start [Skotlex]
+	* Characters in vending are now always considered "idle" if the
+	  idle_no_share setting is active. [Skotlex]
 	* Players with OPTION_INVISIBLE should not be sent to clients. [Lance]
 	* Remaining fixes for item scripts. [Lance]
 	* Added NPC event deprecated warnings to ease debugging old scripts. [Lance]

+ 1 - 1
conf-tmpl/battle/party.conf

@@ -42,7 +42,7 @@ party_item_share_type: 0
 // Is exp sharing disabled for idle members in the party?
 // Set to no, or the amount of seconds (NOT milliseconds) that need to pass before considering
 // a character idle.
-// Characters in a chat are always considered idle.
+// Characters in a chat/vending are always considered idle.
 // A character's idle status is reset upon item use/skill use/attack (auto attack counts too)/movement.
 idle_no_share: no
 

+ 2 - 0
npc/Changelog.txt

@@ -27,6 +27,8 @@ Nexon
 
 Date		Added
 ======
+05/15
+	* Corrected 10 Geminis spawning in Lhz1 rather than 2. [Skotlex]
 05/14
 	* Fixed the quiz in the Wizard Job quest a bit [Playtester]
 05/13

+ 1 - 1
npc/mobs/dungeons/lhzdun.txt

@@ -46,7 +46,7 @@ lhz_dun02.gat,0,0,0,0	monster	Armeyer Dinze	1654,50,0,0,0
 lhz_dun02.gat,0,0,0,0	monster	Errende Ebecee	1655,50,0,0,0
 lhz_dun02.gat,0,0,0,0	monster	Kavach Icarus	1656,50,0,0,0
 lhz_dun02.gat,0,0,0,0	monster	Laurell Weinder	1657,50,0,0,0
-lhz_dun01.gat,0,0,0,0	monster	Gemini-S58	1681,10,1800000,900000,1
+lhz_dun02.gat,0,0,0,0	monster	Gemini-S58	1681,10,1800000,900000,1
 lhz_dun02.gat,0,0,0,0	monster	Egnigem Cenia	1658,1,7200000,3600000,1
 
 //========================================================================================

+ 0 - 8
src/map/clif.c

@@ -763,14 +763,6 @@ int clif_clearchar_delay(unsigned int tick, struct block_list *bl, int type) {
  *------------------------------------------
  */
 int clif_clearchar_id(int id, int type, int fd) {
-	/*unsigned char buf[16];
-
-	WBUFW(buf,0) = 0x80;
-	WBUFL(buf,2) = id;
-	WBUFB(buf,6) = type;
-	WFIFOHEAD(fd, packet_len_table[0x80]);
-	memcpy(WFIFOP(fd,0), buf, 7);
-	WFIFOSET(fd, packet_len_table[0x80]);*/
 
 	WFIFOHEAD(fd, packet_len_table[0x80]);
 	WFIFOW(fd,0)	= 0x80;

+ 1 - 1
src/map/party.c

@@ -669,7 +669,7 @@ int party_exp_share(struct party *p,int map,unsigned int base_exp,unsigned int j
 
 	for (i = c = 0; i < MAX_PARTY; i++)
 		if ((sd[c] = p->member[i].sd)!=NULL && sd[c]->bl.m == map && !pc_isdead(sd[c])) {
-			if (battle_config.idle_no_share && (sd[c]->chatID || (sd[c]->idletime < (last_tick - battle_config.idle_no_share))))
+			if (battle_config.idle_no_share && (sd[c]->chatID || sd[c]->vender_id || (sd[c]->idletime < (last_tick - battle_config.idle_no_share))))
 				continue;
 			c++;
 		}

+ 1 - 0
src/map/status.c

@@ -4633,6 +4633,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
 		case SC_SLEEP:
 		case SC_SMA:
 		case SC_WARM: 
+		case SC_BLADESTOP:
 			break;
 		// gs_something1 [Vicious]
 		case SC_MADNESSCANCEL: