Browse Source

- Reenabled client requesting to self mute, as the whole knockback packet issues of the past which were causing players to mute themselves when being knockback is no longer there.
- Changed NPC_CHANGEUNDEAD from a self skill to a targetted skill. Changed it's duration to 30 secs.


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

skotlex 19 years ago
parent
commit
81530c4ef9
5 changed files with 11 additions and 6 deletions
  1. 4 0
      Changelog-Trunk.txt
  2. 3 0
      db/Changelog.txt
  3. 1 1
      db/skill_cast_db.txt
  4. 1 1
      db/skill_db.txt
  5. 2 4
      src/map/clif.c

+ 4 - 0
Changelog-Trunk.txt

@@ -4,6 +4,10 @@ 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/09/18
+	* Reenabled client requesting to self mute, as the whole knockback packet
+	  issues of the past which were causing players to mute themselves when being
+	  knockback is no longer there. [Skotlex]
 2006/09/17
 	* Fixed NPC_INVISIBLE's cloak ending after attacking once. [Skotlex]
 	* Fixed SG_FUSION being castable without Soul Link state. [Skotlex]

+ 3 - 0
db/Changelog.txt

@@ -19,6 +19,9 @@
 	-----
 
 =========================
+09/18
+	* Changed NPC_CHANGEUNDEAD from a self skill to a targetted skill. Changed
+	  it's duration to 30 secs. [Skotlex]
 09/17
 	* Updated some item names according to info from Haplo [Playtester]
 	* Fixed some Thanatos mob names [Playtester]

+ 1 - 1
db/skill_cast_db.txt

@@ -537,7 +537,7 @@
 //-- NPC_STOP
 342,0,0,0,10000,0
 //-- NPC_CHANGEUNDEAD
-348,0,0,0,1800000,0
+348,0,0,0,30000,0
 //-- NPC_POWERUP
 349,0,0,0,60000:120000:180000:240000:300000,0
 //-- NPC_AGIUP

+ 1 - 1
db/skill_db.txt

@@ -371,7 +371,7 @@
 345,9,6,1,-1,0,0,10,1,no,0,2,0,weapon,0	//NPC_BREAKHELM#Break helm#
 346,9,6,1,-1,0,0,10,1,no,0,2,0,weapon,0	//NPC_BREAKSHIELD#Break shield#
 347,-1,6,1,9,0,0,10,1,no,0,2,0,weapon,0	//NPC_UNDEADATTACK
-348,0,0,4,9,1,0,10,1,no,0,2,0,magic,0	//NPC_CHANGEUNDEAD
+348,9,0,1,9,1,0,10,1,no,0,2,0,magic,0	//NPC_CHANGEUNDEAD
 349,0,6,4,0,1,0,10,0,no,0,2,0,weapon,0	//NPC_POWERUP
 350,0,6,4,0,1,0,10,0,no,0,2,0,none,0	//NPC_AGIUP
 351,0,0,0,0,1,0,0,0,no,0,2,0,none,0	//NPC_SIEGEMODE

+ 2 - 4
src/map/clif.c

@@ -10870,10 +10870,8 @@ void clif_parse_GMReqNoChat(int fd,struct map_session_data *sd)
 	if (type == 0)
 		limit = 0 - limit;
 
-	//Temporarily disable chars from muting themselves due to the mysterious "DON'T USE BOT!" message. [Skotlex]
-	//Also, if type is 2 and the ids don't match, this is a crafted hacked packet!
-	//So for now, type 2is just totally disabled.
-	if (type == 2/*&& sd->bl.id != dstsd->bl.id*/)
+	//If type is 2 and the ids don't match, this is a crafted hacked packet!
+	if (type == 2 && sd->bl.id != dstsd->bl.id)
 		return;
 	
 	if (