cfg_equip_master.lua 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_equip_master_column
  3. ---第一位:类型 第二三位:组id 后面为编号
  4. ---@field id number @序列 column=1 A
  5. ---1:强化大师
  6. ---2:追加大师
  7. ---@field type number @类型 column=2 B
  8. ---填写装备大师计算的穿戴栏,填-1代表遍历角色所有穿戴栏;调用cfg_career表,职业穿戴栏字段
  9. ---@field wearBarID number @穿戴栏 column=3 C
  10. ---type和strpartid共同决定一个组
  11. ---@field group number @组 column=4 D
  12. ---填写装备大师计算的穿戴部位
  13. ---穿戴栏部位读取item表strPart字段;格式:部位#部位
  14. ---@field strPartId IntList @部位id column=5 E
  15. ---前端显示
  16. ---@field note string @备注 column=6 F
  17. ---0:计算部位总和等级
  18. ---1:计算每个部位等级
  19. ---@field count number @计算方式 column=7 G
  20. ---前端显示等级
  21. ---@field lv number @所需等级 column=8 H
  22. ---属性id#属性值|属性id#属性值
  23. ---@field att IntListList @强化属性 column=9 I
  24. ---1强化属性百分比提升
  25. ---2追加属性百分比提升
  26. ---格式:类型#数值(万分比)
  27. ---@field att2 IntList @属性 column=10 J
  28. ---[[客户端不使用]]@field @ column=11 K
  29. ---[[客户端不使用]]@field @ column=12 L
  30. local cfg_equip_master =
  31. {
  32. {id=10001, lv=108, att2={1,500}},
  33. {id=10002, lv=144, att2={1,600}},
  34. {id=10003, lv=180, att2={1,700}},
  35. {id=10004, lv=216, att2={1,800}},
  36. {id=10005, lv=252, att2={1,900}},
  37. {id=10006, lv=324, att2={1,1000}},
  38. {id=10007, lv=360, att2={1,1100}},
  39. {id=10008, lv=396, att2={1,1200}},
  40. {id=10009, lv=468, att2={1,1300}},
  41. {id=10010, lv=504, att2={1,1400}},
  42. {id=10011, lv=540, att2={1,1500}},
  43. {id=10012, lv=612, att2={1,1600}},
  44. {id=10013, lv=684, att2={1,1700}},
  45. {id=10014, lv=756, att2={1,1800}},
  46. {id=20001, type=2, group=2, note="全身追加总和", lv=52, att2={2,500}},
  47. {id=20002, type=2, group=2, note="全身追加总和", lv=104, att2={2,600}},
  48. {id=20003, type=2, group=2, note="全身追加总和", lv=156, att2={2,700}},
  49. {id=20004, type=2, group=2, note="全身追加总和", lv=208, att2={2,800}},
  50. {id=20005, type=2, group=2, note="全身追加总和", lv=260, att2={2,900}},
  51. {id=20006, type=2, group=2, note="全身追加总和", lv=312, att2={2,1000}},
  52. {id=20007, type=2, group=2, note="全身追加总和", lv=364, att2={2,1100}},
  53. {id=20008, type=2, group=2, note="全身追加总和", lv=416, att2={2,1200}},
  54. {id=20009, type=2, group=2, note="全身追加总和", lv=468, att2={2,1300}},
  55. {id=20010, type=2, group=2, note="全身追加总和", lv=520, att2={2,1400}},
  56. }
  57. local defaults = {type=1, wearBarID=-1, group=1, strPartId={1,2,3,4,5,6,7,8,9,10,11,12,13,14}, note="全身强化总和", count=0, att={}}
  58. local mt = {__index = defaults}
  59. for _, v in ipairs(cfg_equip_master) do
  60. setmetatable(v, mt)
  61. end
  62. return cfg_equip_master