Jelajahi Sumber

- Removed the piece of code that "guesses" that job classes between 24 and 68 are advanced classes from mob_avail reading since they conflict with NJ/GS. Use the correct class numbers from now on!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6000 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 tahun lalu
induk
melakukan
6676a74acd
2 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 0
      Changelog-Trunk.txt
  2. 0 2
      src/map/mob.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/04/11
+	* Removed the piece of code that "guesses" that job classes between 24 and
+	  68 are advanced classes from mob_avail reading since they conflict with
+	  NJ/GS. Use the correct class numbers from now on! [Skotlex]
 	* Cleaned up implementation of BlastMine and Claymore Trap. [Skotlex]
 	* Added Freezing trap information to battle_calc_weapon attack. [Skotlex]
 	* Merged the can't walk delay code into the weapon-damage delay one, means

+ 0 - 2
src/map/mob.c

@@ -3318,8 +3318,6 @@ static int mob_readdb_mobavail(void)
 		k=atoi(str[1]);
 		if(k < 0)
 			continue;
-		if (j >= 12 && k > 23 && k < 69)
-			k += 3977;	// advanced job/baby class
 
 		memset(&mob_db_data[class_]->vd, 0, sizeof(struct view_data));
 		mob_db_data[class_]->vd.class_=k;