Selaa lähdekoodia

- Fixed dispell removing SC_NOCHAT

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8635 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 18 vuotta sitten
vanhempi
commit
d0563b1951
2 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 1 0
      Changelog-Trunk.txt
  2. 1 0
      src/map/skill.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ 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/05
+	* Fixed dispell removing SC_NOCHAT [Skotlex]
 	* Small fix which should correct skill_attack damaging hidden characters
 	  when it shouldn't. [Skotlex]
 	* Fixed connect_until field being a smallint rather than int in the login

+ 1 - 0
src/map/skill.c

@@ -4632,6 +4632,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 					|| i==SC_COMBO || i==SC_DANCING || i==SC_GUILDAURA || i==SC_EDP
 					|| i==SC_AUTOBERSERK  || i==SC_CARTBOOST || i==SC_MELTDOWN
 					|| i==SC_SAFETYWALL || i==SC_SMA || i==SC_SPEEDUP0
+					|| i==SC_NOCHAT
 					)
 					continue;
 				if(i==SC_BERSERK) tsc->data[i].val2=0; //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0.