Jelajahi Sumber

Reverted 2d03e7f and d32c857

Fixes #890 and #897

Sorry for the inconveniences guys!
Lemongrass3110 9 tahun lalu
induk
melakukan
f424a2a71d
2 mengubah file dengan 27 tambahan dan 0 penghapusan
  1. 24 0
      db/const.txt
  2. 3 0
      src/map/script_constants.h

+ 24 - 0
db/const.txt

@@ -14,6 +14,30 @@
 //                  in field Value. Depending on the implementation values assigned by scripts to parameters will affect
 //                  runtime values, such as Zeny, as well (see pc_readparam/pc_setparam).
 
+// These EQI_ constants do not match with the source EQI_ constants
+// Do not migrate into script_constants.h right now [Lemongrass]
+EQI_HEAD_TOP	1
+EQI_ARMOR	2
+EQI_HAND_L	3
+EQI_HAND_R	4
+EQI_GARMENT	5
+EQI_SHOES	6
+EQI_ACC_L	7
+EQI_ACC_R	8
+EQI_HEAD_MID	9
+EQI_HEAD_LOW	10
+EQI_COSTUME_HEAD_LOW	11
+EQI_COSTUME_HEAD_MID	12
+EQI_COSTUME_HEAD_TOP	13
+EQI_COSTUME_GARMENT	14
+EQI_AMMO	15
+EQI_SHADOW_ARMOR  16
+EQI_SHADOW_WEAPON  17
+EQI_SHADOW_SHIELD  18
+EQI_SHADOW_SHOES  19
+EQI_SHADOW_ACC_R  20
+EQI_SHADOW_ACC_L  21
+
 //Item Group ID
 IG_BlueBox	1
 IG_VioletBox	2

+ 3 - 0
src/map/script_constants.h

@@ -653,6 +653,8 @@
 	script_set_constant("bStateNoRecoverRace",SP_STATE_NORECOVER_RACE,false);
 
 	/* equip positions */
+	// Disabled as long as we did not clean the EQI_/EQP_ mess up [Lemongrass]
+	/*
 	export_constant(EQI_HEAD_TOP);
 	export_constant(EQI_ARMOR);
 	export_constant(EQI_HAND_L);
@@ -674,6 +676,7 @@
 	export_constant(EQI_SHADOW_SHOES);
 	export_constant(EQI_SHADOW_ACC_R);
 	export_constant(EQI_SHADOW_ACC_L);
+	*/
 
 	/* looks */
 	export_constant(LOOK_BASE);