Procházet zdrojové kódy

- Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg: wand of hermod)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8668 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex před 18 roky
rodič
revize
5b7601f3db
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/status.c

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ 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/07
+	* Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg:
+	  wand of hermod) [Skotlex]
 	* Cleaned up the doridori parse clif function. [Skotlex]
 	* Merged some of mpeg's work on NJ skills [Skotlex]
 	* Removed the Warmth "stacking" code. [Skotlex]

+ 1 - 1
src/map/status.c

@@ -6830,7 +6830,7 @@ int status_change_clear_buffs (struct block_list *bl, int type)
 			case SC_BERSERK:
 				if (!(type&1))
 					continue;
-			  	sc->data[i].val4 = 1;
+			  	sc->data[i].val2 = 0;
 				break;
 			default:
 				if (!(type&1))