- 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
This commit is contained in:
skotlex 2006-04-12 02:28:43 +00:00
parent df06ad84f3
commit 6676a74acd
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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;