cfg_card_inlay.lua 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_card_inlay_column
  3. ---@field id number @唯一id column=1 A
  4. ---策划备注字段
  5. ---[[客户端不使用]]@field remark string @备注 column=2 B
  6. ---允许镶嵌卡牌的装备部位
  7. ---读取item/strPart
  8. ---@field part number @装备部位 column=3 C
  9. ---装备部位对应镶嵌卡牌类型
  10. ---读取item/subType
  11. ---@field type number @镶嵌卡牌类型 column=4 D
  12. ---部位对应镶嵌孔位数量
  13. ---@field holeAmount number @镶嵌孔位数量 column=5 E
  14. ---1.装备阶数类型
  15. ---2.首饰等级类型
  16. ---@field unlockType number @解锁孔位限制类型 column=6 F
  17. ---大于等于配置值解锁槽位
  18. ---不填则没有该限制
  19. ---孔位序号不能超出孔位总数
  20. ---unlockType=1,格式:孔位序号#装备阶数|孔位序号#装备阶数
  21. ---unlockType=2,格式:孔位序号#首饰等级|孔位序号#首饰等级
  22. ---@field unlockParameter IntListList @限制参数 column=7 G
  23. ---部位对应免费镶嵌孔位序号
  24. ---格式:孔位序号#孔位序号
  25. ---孔位序号不能超出孔位总数
  26. ---@field unlockFree IntList @免费解锁孔位数量 column=8 H
  27. ---格式:孔位序号#消耗道具id#道具数量#解锁概率(万比)|孔位序号#消耗道具id#道具数量#解锁概率(万比)
  28. ---孔位序号需要从免费孔位顺延,不能超出孔位总数
  29. ---@field unlockNormal IntListList @解锁孔位常规消耗道具 column=9 I
  30. ---格式:孔位序号#消耗道具#道具数量|孔位序号#消耗道具id#道具数量
  31. ---孔位序号需要从免费孔位顺延,不能超出孔位总数
  32. ---@field unlockSpecial IntListList @解锁孔位特殊消耗道具 column=10 J
  33. ---解锁失败增加幸运值,满一百后百分百成功
  34. ---格式:孔位序号#增加值|孔位序号#增加值
  35. ---孔位序号需要从免费孔位顺延,不能超出孔位总数
  36. ---@field luckPoint IntListList @失败幸运值 column=11 K
  37. local cfg_card_inlay =
  38. {
  39. {id=1, part=1, type=3},
  40. {id=2, part=2, type=3},
  41. {id=3, part=3, type=3},
  42. {id=4, part=4},
  43. {id=5, part=5, type=1},
  44. {id=6, part=6},
  45. {id=7, part=7},
  46. {id=8, part=8},
  47. {id=9, part=9, unlockType=2, unlockParameter={{1,1},{2,20},{3,35}}},
  48. {id=10, part=10, unlockType=2, unlockParameter={{1,1},{2,20},{3,35}}},
  49. {id=11, part=11, unlockType=2, unlockParameter={{1,1},{2,20},{3,35}}},
  50. {id=12, part=12, unlockType=2, unlockParameter={{1,1},{2,20},{3,35}}},
  51. {id=13, part=13, unlockType=2, unlockParameter={{1,1},{2,20},{3,35}}},
  52. }
  53. local defaults = {type=2, holeAmount=3, unlockType=1, unlockParameter={{1,1},{2,7},{3,9}}, unlockFree={1,2,3}, unlockNormal={}, unlockSpecial={}, luckPoint={}}
  54. local mt = {__index = defaults}
  55. for _, v in ipairs(cfg_card_inlay) do
  56. setmetatable(v, mt)
  57. end
  58. return cfg_card_inlay