cfg_repRedfortress.lua 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_repRedfortress_column
  3. ---@field id number @id column=1 A
  4. ---@field name string @活动名称 column=2 B
  5. ---@field repId number @副本ID column=3 C
  6. ---地图中容纳单位的最大数量
  7. ---
  8. ---活动开始生成怪物数量=本字段值-玩家数量
  9. ---@field maxUnit number @地图中单位最大数量 column=4 D
  10. ---活动内生成的怪物
  11. ---格式:怪物id#怪物id#怪物id
  12. ---对应职业外表为 职业1#职业2#职业3 以此类推
  13. ---@field monsterId IntList @怪物id column=5 E
  14. ---用于各职业进入的伪装的模型外表
  15. ---格式:怪物id#怪物id#怪物id
  16. ---对应职业外表为 职业1#职业2#职业3 以此类推
  17. ---@field transfiguration IntList @变身怪物ID column=6 F
  18. ---击杀角色获得积分#击杀怪物获得积分
  19. ---@field points IntList @获得积分 column=7 G
  20. ---玩家与怪物死亡后的复活次数
  21. ---@field rebornChance number @复活次数 column=8 H
  22. ---玩家与怪物死亡后的复活时间(单位:秒)
  23. ---@field rebornTime number @复活时间 column=9 I
  24. ---填写cfg_buff表id,玩家死亡复活后,自动获得该buff
  25. ---@field buff number @复活后获得buff column=10 J
  26. ---进入副本后,再该位置进行准备停留
  27. ---x1,x2,y1,y2
  28. ---@field ready IntList @准备区 column=11 K
  29. ---初次进入战斗区域时,传送的位置
  30. ---x1,x2,y1,y2
  31. ---@field start IntList @初始战斗区域 column=12 L
  32. ---减少条件#减少量|减少条件#减少量
  33. ---减少条件:玩家和怪物总数量
  34. ---减少量:与正常地图大小对比,长宽减少的百分比
  35. ---例:70#30|50#20|30#10为剩70人时地图长宽减少30%,剩50人时再减少原地图长宽大小的20%,剩30人时再减少原地图长宽大小的10%
  36. ---
  37. ---注:减少量的数值加起来不可超过100
  38. ---@field mapCut IntListList @地图减少 column=13 M
  39. ---和地图减少一一对应,减少时,提前X秒进行预警。
  40. ---@field warning IntList @地图减少预计时间 column=14 N
  41. ---获得奖励的普通掉落包
  42. ---格式:名次上限#名次上限#道具id#道具数量#道具id#道具数量|
  43. ---道具id引用cfg_item表id
  44. ---@field reward IntListList @活动奖励 column=15 O
  45. local cfg_repRedfortress =
  46. {
  47. {id=17001, repId=17001, monsterId={17001001,17001002,17001003,17001001,17001001,17001002}},
  48. {id=17002, repId=17002, monsterId={17002001,17002002,17002003,17002001,17002001,17002002}},
  49. {id=17003, repId=17003, monsterId={17003001,17003002,17003003,17003001,17003001,17003002}},
  50. {id=17004, repId=17004, monsterId={17004001,17004002,17004003,17004001,17004001,17004002}},
  51. {id=17005, repId=17005, monsterId={17005001,17005002,17005003,17005001,17005001,17005002}},
  52. {id=17006, repId=17006, monsterId={17006001,17006002,17006003,17006001,17006001,17006002}},
  53. {id=17007, repId=17007, monsterId={17007001,17007002,17007003,17007001,17007001,17007002}},
  54. {id=17008, repId=17008, monsterId={17008001,17008002,17008003,17008001,17008001,17008002}},
  55. {id=17009, repId=17009, monsterId={17009001,17009002,17009003,17009001,17009001,17009002}},
  56. }
  57. local defaults = {name="赤色要塞", maxUnit=100, transfiguration={44001,44002,44003,44001,44001,44002}, points={5,1}, rebornChance=3, rebornTime=5, buff=56, ready={100,146,162,196}, start={193,219,78,115}, mapCut={{50,30},{35,20},{15,10}}, warning={5,5,5}, reward={{1,1,10020001,8000,40010901,4},{2,2,10020001,6000,40010901,3},{3,3,10020001,4000,40010901,2},{4,10,10020001,3000,40010901,1},{11,20,10020001,2000},{21,50,10020001,1000},{51,99,10020001,500}}}
  58. local mt = {__index = defaults}
  59. for _, v in ipairs(cfg_repRedfortress) do
  60. setmetatable(v, mt)
  61. end
  62. return cfg_repRedfortress