Z-装备.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. [
  2. {
  3. "excel_file_name": "Z-装备.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 1,
  8. "outputs": [
  9. {
  10. "enable": true,
  11. "read_type": "type_sjson",
  12. "parser_id": "table",
  13. "file_name": "equip.json",
  14. "gen_codes": [
  15. {
  16. "read_type": "type_go"
  17. }
  18. ]
  19. },
  20. {
  21. "enable": true,
  22. "read_type": "type_cjson",
  23. "parser_id": "table_list",
  24. "file_name": "EquipCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ID",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "ID",
  41. "name": "ID",
  42. "side": "cs",
  43. "type_sjson": "int",
  44. "type_go": "int32",
  45. "type_cjson": "int",
  46. "type_csharp": "int"
  47. },
  48. {
  49. "key": "装备名称Lang",
  50. "name": "NameLang",
  51. "side": "c",
  52. "type_cjson": "string",
  53. "type_csharp": "string"
  54. },
  55. {
  56. "key": "品质",
  57. "name": "Quality",
  58. "side": "cs",
  59. "type_sjson": "int",
  60. "type_go": "enum.Quality",
  61. "type_cjson": "int",
  62. "type_csharp": "int"
  63. },
  64. {
  65. "key": "职业",
  66. "name": "Job",
  67. "side": "cs",
  68. "type_sjson": "int",
  69. "type_go": "enum.Job",
  70. "type_cjson": "int",
  71. "type_csharp": "int"
  72. },
  73. {
  74. "key": "部位",
  75. "name": "EquipType",
  76. "side": "cs",
  77. "type_sjson": "int",
  78. "type_go": "enum.EquipType",
  79. "type_cjson": "int",
  80. "type_csharp": "int"
  81. },
  82. {
  83. "key": "穿戴等级",
  84. "name": "NeedLevel",
  85. "side": "cs",
  86. "type_sjson": "int",
  87. "type_go": "int32",
  88. "type_cjson": "int",
  89. "type_csharp": "int"
  90. },
  91. {
  92. "key": "打造消耗",
  93. "name": "CraftCosts",
  94. "side": "cs",
  95. "type_sjson": "array",
  96. "type_go": "types.Assets",
  97. "type_cjson": "string",
  98. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  99. },
  100. {
  101. "key": "基础属性范围",
  102. "name": "BaseAttrRange",
  103. "side": "cs",
  104. "type_sjson": "array",
  105. "type_go": "types.BaseKeys",
  106. "type_cjson": "string",
  107. "type_csharp": "CraftEquipAttrRange,CraftEqAttrRangeConverter"
  108. },
  109. {
  110. "key": "随机属性数量范围",
  111. "name": "RandomAttrNumRange",
  112. "side": "cs",
  113. "type_sjson": "array",
  114. "type_go": "types.PairList[int32, int32]",
  115. "type_cjson": "string",
  116. "type_csharp": "CraftEqAttrNum,CraftEqAttrNumConverter"
  117. },
  118. {
  119. "key": "随机池",
  120. "name": "ExtraAttrPool",
  121. "side": "cs",
  122. "type_sjson": "int",
  123. "type_go": "int32",
  124. "type_cjson": "int",
  125. "type_csharp": "int"
  126. },
  127. {
  128. "key": "稀有技能概率",
  129. "name": "RareSkillProb",
  130. "side": "s",
  131. "type_sjson": "int",
  132. "type_go": "int32"
  133. },
  134. {
  135. "key": "随机技能池",
  136. "name": "RandomSkillPools",
  137. "side": "cs",
  138. "type_sjson": "array",
  139. "type_go": "types.PairList[int32, int32]",
  140. "type_cjson": "string",
  141. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  142. },
  143. {
  144. "key": "技能ID",
  145. "name": "SkillID",
  146. "side": "cs",
  147. "type_sjson": "array",
  148. "type_go": "types.Pair[int32, int32]",
  149. "type_cjson": "array",
  150. "type_csharp": "int[]"
  151. },
  152. {
  153. "key": "稀有技能池",
  154. "name": "RareSkillPool",
  155. "side": "cs",
  156. "type_sjson": "int",
  157. "type_go": "int32",
  158. "type_cjson": "int",
  159. "type_csharp": "int"
  160. },
  161. {
  162. "key": "专属英雄ID",
  163. "name": "EquipHeroID",
  164. "side": "cs",
  165. "type_sjson": "int",
  166. "type_go": "int32",
  167. "type_cjson": "int",
  168. "type_csharp": "int"
  169. },
  170. {
  171. "key": "专属技能是否需要激活",
  172. "name": "NeedActiveSkill",
  173. "side": "cs",
  174. "type_sjson": "bool",
  175. "type_go": "bool",
  176. "type_cjson": "bool",
  177. "type_csharp": "bool"
  178. }
  179. ]
  180. }
  181. ]
  182. }
  183. ]