From d83559cb7fe4357f6cd9458987b6c7a9988c0e94 Mon Sep 17 00:00:00 2001 From: aleos89 Date: Wed, 4 May 2016 12:58:09 -0400 Subject: [PATCH] Added missing Summoner constants * Added JOB_SUMMONER and EAJ_SUMMONER constants. * Updated eA Job System documentation. --- doc/ea_job_system.txt | 8 ++++---- src/map/script_constants.h | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/ea_job_system.txt b/doc/ea_job_system.txt index ea84a82764..65509915c9 100644 --- a/doc/ea_job_system.txt +++ b/doc/ea_job_system.txt @@ -13,10 +13,10 @@ Preface: ------------------------------------------------------------------------------- Most scripters are aware of the class values used in RO and their constants - specified on db/const.txt. Each class has a number associated to it for - referencing, so when someone's class is 9 that means they are a wizard. - However, this list of job numbers has no real order behind it, and no logic - behind it's assignation. + specified in src/map/script_constants.h. Each class has a number associated + to it for referencing, so when someone's class is 9 that means they are a + wizard. However, this list of job numbers has no real order behind it, and + no logic behind it's assignation. You can add 3999 to a job to get their rebirth ID, but if you try to do the same to get the Baby class ID, that fails on the super Baby class. Also, diff --git a/src/map/script_constants.h b/src/map/script_constants.h index 254255493f..42d6cfaf99 100644 --- a/src/map/script_constants.h +++ b/src/map/script_constants.h @@ -182,6 +182,8 @@ export_constant(JOB_REBELLION); + export_constant(JOB_SUMMONER); + /* EA jobs */ script_set_constant("EAJL_2_1",JOBL_2_1,false); script_set_constant("EAJL_2_2",JOBL_2_2,false); @@ -317,6 +319,8 @@ script_set_constant("EAJ_SUPER_NOVICE_E",MAPID_SUPER_NOVICE_E,false); script_set_constant("EAJ_SUPER_BABY_E",MAPID_SUPER_BABY_E,false); + script_set_constant("EAJ_SUMMONER",MAPID_SUMMONER,false); + /* broadcasts */ export_constant(BC_ALL); export_constant(BC_MAP);