G-怪物.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. [
  2. {
  3. "excel_file_name": "G-怪物.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 2,
  8. "outputs": [
  9. {
  10. "enable": true,
  11. "read_type": "type_sjson",
  12. "parser_id": "table",
  13. "file_name": "monster.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": "MonsterCfg.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": "Name",
  51. "side": "c",
  52. "type_cjson": "string",
  53. "type_csharp": "string"
  54. },
  55. {
  56. "key": "怪物说明Lang",
  57. "name": "Describe",
  58. "side": "c",
  59. "type_cjson": "string",
  60. "type_csharp": "string"
  61. },
  62. {
  63. "key": "战场单位ID",
  64. "name": "BattleUnitID",
  65. "side": "c",
  66. "type_cjson": "uint",
  67. "type_csharp": "uint"
  68. },
  69. {
  70. "key": "等级",
  71. "name": "Level",
  72. "side": "cs",
  73. "type_sjson": "int",
  74. "type_go": "int32",
  75. "type_cjson": "int",
  76. "type_csharp": "int"
  77. },
  78. {
  79. "key": "职业",
  80. "name": "Job",
  81. "side": "cs",
  82. "type_sjson": "int",
  83. "type_go": "int32",
  84. "type_cjson": "int",
  85. "type_csharp": "int"
  86. },
  87. {
  88. "key": "技能等级",
  89. "name": "SkillLevels",
  90. "side": "cs",
  91. "type_sjson": "array",
  92. "type_go": "types.PairList[int32,int32]",
  93. "type_cjson": "string",
  94. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  95. },
  96. {
  97. "key": "怪物头像",
  98. "name": "Icon",
  99. "side": "c",
  100. "type_cjson": "string",
  101. "type_csharp": "string"
  102. },
  103. {
  104. "key": "怪物半身像",
  105. "name": "Card",
  106. "side": "c",
  107. "type_cjson": "string",
  108. "type_csharp": "string"
  109. },
  110. {
  111. "key": "最小攻击",
  112. "name": "MinAttack",
  113. "side": "cs",
  114. "type_sjson": "int",
  115. "type_go": "int64",
  116. "type_cjson": "int",
  117. "type_csharp": "int"
  118. },
  119. {
  120. "key": "最大攻击",
  121. "name": "MaxAttack",
  122. "side": "cs",
  123. "type_sjson": "int",
  124. "type_go": "int64",
  125. "type_cjson": "int",
  126. "type_csharp": "int"
  127. },
  128. {
  129. "key": "攻击速度",
  130. "name": "AttackSpeed",
  131. "side": "cs",
  132. "type_sjson": "int",
  133. "type_go": "int64",
  134. "type_cjson": "int",
  135. "type_csharp": "int"
  136. },
  137. {
  138. "key": "移动速度",
  139. "name": "Speed",
  140. "side": "cs",
  141. "type_sjson": "int",
  142. "type_go": "int64",
  143. "type_cjson": "int",
  144. "type_csharp": "int"
  145. },
  146. {
  147. "key": "最小防御",
  148. "name": "MinDefense",
  149. "side": "cs",
  150. "type_sjson": "int",
  151. "type_go": "int64",
  152. "type_cjson": "int",
  153. "type_csharp": "int"
  154. },
  155. {
  156. "key": "最大防御",
  157. "name": "MaxDefense",
  158. "side": "cs",
  159. "type_sjson": "int",
  160. "type_go": "int64",
  161. "type_cjson": "int",
  162. "type_csharp": "int"
  163. },
  164. {
  165. "key": "血量",
  166. "name": "Hp",
  167. "side": "cs",
  168. "type_sjson": "int",
  169. "type_go": "int64",
  170. "type_cjson": "int",
  171. "type_csharp": "int"
  172. },
  173. {
  174. "key": "暴击率",
  175. "name": "CriticalHitChance",
  176. "side": "cs",
  177. "type_sjson": "int",
  178. "type_go": "int64",
  179. "type_cjson": "int",
  180. "type_csharp": "int"
  181. },
  182. {
  183. "key": "暴击抵抗",
  184. "name": "CriticalHitResistance",
  185. "side": "cs",
  186. "type_sjson": "int",
  187. "type_go": "int64",
  188. "type_cjson": "int",
  189. "type_csharp": "int"
  190. },
  191. {
  192. "key": "暴击伤害",
  193. "name": "CriticalHitDamage",
  194. "side": "cs",
  195. "type_sjson": "int",
  196. "type_go": "int64",
  197. "type_cjson": "int",
  198. "type_csharp": "int"
  199. },
  200. {
  201. "key": "暴伤抵抗",
  202. "name": "CriticalHitDamageResistance",
  203. "side": "cs",
  204. "type_sjson": "int",
  205. "type_go": "int64",
  206. "type_cjson": "int",
  207. "type_csharp": "int"
  208. },
  209. {
  210. "key": "幸运值",
  211. "name": "Luck",
  212. "side": "cs",
  213. "type_sjson": "int",
  214. "type_go": "int64",
  215. "type_cjson": "int",
  216. "type_csharp": "int"
  217. },
  218. {
  219. "key": "伤害加成",
  220. "name": "DamageBonus",
  221. "side": "cs",
  222. "type_sjson": "int",
  223. "type_go": "int64",
  224. "type_cjson": "int",
  225. "type_csharp": "int"
  226. },
  227. {
  228. "key": "伤害减免",
  229. "name": "DamageReduction",
  230. "side": "cs",
  231. "type_sjson": "int",
  232. "type_go": "int64",
  233. "type_cjson": "int",
  234. "type_csharp": "int"
  235. },
  236. {
  237. "key": "兵团攻击加成",
  238. "name": "SquadAttackBonus",
  239. "side": "cs",
  240. "type_sjson": "int",
  241. "type_go": "int64",
  242. "type_cjson": "int",
  243. "type_csharp": "int"
  244. },
  245. {
  246. "key": "兵团生命加成",
  247. "name": "SquadHealthBonus",
  248. "side": "cs",
  249. "type_sjson": "int",
  250. "type_go": "int64",
  251. "type_cjson": "int",
  252. "type_csharp": "int"
  253. },
  254. {
  255. "key": "品质",
  256. "name": "MonsterQuality",
  257. "side": "c",
  258. "type_cjson": "int",
  259. "type_csharp": "GameConfig.ConfigGen.MonsterQualityEnum"
  260. },
  261. {
  262. "key": "星级",
  263. "name": "StarLevel",
  264. "side": "c",
  265. "type_cjson": "int",
  266. "type_csharp": "int"
  267. }
  268. ]
  269. }
  270. ]
  271. }
  272. ]