Browse Source

Added missing Summoner constants
* Added JOB_SUMMONER and EAJ_SUMMONER constants.
* Updated eA Job System documentation.

aleos89 9 years ago
parent
commit
d83559cb7f
2 changed files with 8 additions and 4 deletions
  1. 4 4
      doc/ea_job_system.txt
  2. 4 0
      src/map/script_constants.h

+ 4 - 4
doc/ea_job_system.txt

@@ -13,10 +13,10 @@ Preface:
 -------------------------------------------------------------------------------
 -------------------------------------------------------------------------------
 
 
 	Most scripters are aware of the class values used in RO and their constants
 	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
 	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,
 	same to get the Baby class ID, that fails on the super Baby class. Also,

+ 4 - 0
src/map/script_constants.h

@@ -182,6 +182,8 @@
 
 
 	export_constant(JOB_REBELLION);
 	export_constant(JOB_REBELLION);
 
 
+	export_constant(JOB_SUMMONER);
+
 	/* EA jobs */
 	/* EA jobs */
 	script_set_constant("EAJL_2_1",JOBL_2_1,false);
 	script_set_constant("EAJL_2_1",JOBL_2_1,false);
 	script_set_constant("EAJL_2_2",JOBL_2_2,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_NOVICE_E",MAPID_SUPER_NOVICE_E,false);
 	script_set_constant("EAJ_SUPER_BABY_E",MAPID_SUPER_BABY_E,false);
 	script_set_constant("EAJ_SUPER_BABY_E",MAPID_SUPER_BABY_E,false);
 
 
+	script_set_constant("EAJ_SUMMONER",MAPID_SUMMONER,false);
+
 	/* broadcasts */
 	/* broadcasts */
 	export_constant(BC_ALL);
 	export_constant(BC_ALL);
 	export_constant(BC_MAP);
 	export_constant(BC_MAP);