From 0fff381fcb3cf402f579b4dd62d15f3e6323f014 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 12 Apr 2006 02:28:43 +0000 Subject: - 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6000 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 3 +++ src/map/mob.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index f8089eb5e..1e1138de7 100644 --- a/Changelog-Trunk.txt +++ b/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 diff --git a/src/map/mob.c b/src/map/mob.c index b9c90c1f3..d532aa75a 100644 --- a/src/map/mob.c +++ b/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; -- cgit v1.2.3-70-g09d2