cfg_angleBenefitTask.lua 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_angleBenefitTask_column
  3. ---任务id,第一位为任务类型,第二,三位为
  4. ---@field id number @id column=1 A
  5. ---1勇气试炼;2黄金怪(测试类型)
  6. ---@field type number @任务类型 column=2 B
  7. ---@field taskTitle string @任务标题 column=3 C
  8. ---任务详细内容
  9. ---@field taskDesc string @任务内容 column=4 D
  10. ---读取cfg_task_target 表id
  11. ---格式:任务目标id#任务目标id
  12. ---@field taskTargetId IntList @任务目标 column=5 E
  13. ---奖励道具组以及奖励道具组的数量
  14. ---格式:道具id#道具数量#修正id#绑定道具(0:非绑定,1:绑定)|道具id#道具数量#修正id#绑定道具
  15. ---修正id引援cfg_equip_correct表id,填0不生效
  16. ---@field rewardItem IntListList @奖励道具信息 column=6 F
  17. ---在同一type下的顺序
  18. ---@field taskRank number @任务排序 column=7 G
  19. local cfg_angleBenefitTask =
  20. {
  21. {id=101, type=1, taskTitle="试炼达人", taskDesc="勇气试炼通过第1层", taskTargetId={2001001}, taskRank=1},
  22. {id=102, type=1, taskTitle="试炼达人", taskDesc="勇气试炼通过第2层", taskTargetId={2001002}, taskRank=2},
  23. {id=103, type=1, taskTitle="试炼达人", taskDesc="勇气试炼通过第3层", taskTargetId={2001003}, taskRank=3},
  24. {id=104, type=1, taskTitle="试炼达人", taskDesc="勇气试炼通过第4层", taskTargetId={2001004}, taskRank=4},
  25. {id=105, type=1, taskTitle="试炼达人", taskDesc="勇气试炼通过第5层", taskTargetId={2001005}, taskRank=5},
  26. {id=201, taskDesc="黄金雪虫", taskTargetId={2000001}, taskRank=1},
  27. {id=202, taskDesc="黄金蓝魔怪", taskTargetId={2000002}, taskRank=2},
  28. {id=203, taskDesc="黄金寒冰魔", taskTargetId={2000003}, taskRank=3},
  29. {id=204, taskDesc="黄金地狱猎犬怪", taskTargetId={2000004}, taskRank=4},
  30. {id=205, taskDesc="黄金骷髅兵", taskTargetId={2000005}, taskRank=5},
  31. {id=206, taskDesc="黄金暗黑骑士", taskTargetId={2000006}, taskRank=6},
  32. {id=207, taskDesc="黄金鬼魂", taskTargetId={2000007}, taskRank=7},
  33. {id=208, taskDesc="黄金牛魔王", taskTargetId={2000008}, taskRank=8},
  34. {id=209, taskDesc="黄金死神戈登", taskTargetId={2000009}, taskRank=9},
  35. }
  36. local defaults = {type=2, taskTitle="怪物猎人", rewardItem={{10040001,100},{10210001,100}}}
  37. local mt = {__index = defaults}
  38. for _, v in ipairs(cfg_angleBenefitTask) do
  39. setmetatable(v, mt)
  40. end
  41. return cfg_angleBenefitTask