From 99b0583c331f841e3bdc930b4ef6c46329404dd6 Mon Sep 17 00:00:00 2001 From: technote24 Date: Fri, 20 Apr 2012 05:34:53 +0000 Subject: =General *Did some cleaning up and enabled all job lines in job_db 1 and 2. *Added some more jobs to the pre-re and re exp tables. *Enabled all typeable job changing names for the job change command. -Also did some more cleaning and organizing for the list that shows -when typing the command by itself. This will be the final time I -touch this until a new job is released. *Increased MAX_SKILL_TREE to 84 as the Expanded Super Novice/Baby jobs needs it. =Jobs *Added 7 new jobs. -Added jobs are Gangsi, Death Knight, Dark Collector, -Expanded Super Novice, Expanded Super Baby, Kagerou, and Oboro. -Note: Keep in mind that Gangsi, Death Knight, and Dark Collector -are official jobs that were never completed and arnt fully playable -like other jobs. Im just adding them in since their official and to -let the curious people out there mess with them. *Did some major skill tree updates. -Corrected the required level of SM_RECOVERY needed for LK_CONCENTRATION. -Fixed a few other trans skill requirements in the 3rd job skill trees. -Added complete skill trees for Sorcerer, Genetic, Baby 3rd's, -Expanded Super Novice/Baby, Kagerou, and Oboro. -Note: Even tho Sorcerer, Genetic, and Kagerou/Oboro skills arnt in -the server, the skills introduced in these jobs will still be read -by the server, but will not appear on players skill window until entrys -are added to the skill_db and skill_requirement_db. -No error's will be generated when read. So its perfectly safe to leave -them entirely enabled so skills will slowly appear 1 by 1 as their coded in. -Also added a pre-tree for Gangsi, Death Knight, and Dark Collector -jobs for now and added some extra tree lines. These will be worked with in the future. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15876 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/char') diff --git a/src/char/char.c b/src/char/char.c index a34ffe167..a26f81174 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2057,7 +2057,8 @@ int parse_fromlogin(int fd) class_[i] == JOB_BABY_BARD || class_[i] == JOB_BABY_DANCER || class_[i] == JOB_MINSTREL || class_[i] == JOB_WANDERER || class_[i] == JOB_MINSTREL_T || class_[i] == JOB_WANDERER_T || - class_[i] == JOB_BABY_MINSTREL || class_[i] == JOB_BABY_WANDERER ) + class_[i] == JOB_BABY_MINSTREL || class_[i] == JOB_BABY_WANDERER || + class_[i] == JOB_KAGEROU || class_[i] == JOB_OBORO ) { // job modification if( class_[i] == JOB_BARD || class_[i] == JOB_DANCER ) @@ -2072,6 +2073,8 @@ int parse_fromlogin(int fd) class_[i] = (sex ? JOB_MINSTREL_T : JOB_WANDERER_T); else if( class_[i] == JOB_BABY_MINSTREL || class_[i] == JOB_BABY_WANDERER ) class_[i] = (sex ? JOB_BABY_MINSTREL : JOB_BABY_WANDERER); + else if( class_[i] == JOB_KAGEROU || class_[i] == JOB_OBORO ) + class_[i] = (sex ? JOB_KAGEROU : JOB_OBORO); } // to avoid any problem with equipment and invalid sex, equipment is unequiped. if( SQL_ERROR == Sql_Query(sql_handle, "UPDATE `%s` SET `equip` = '0' WHERE `char_id` = '%d'", inventory_db, char_id[i]) ) -- cgit v1.2.3-60-g2f50