chapter.go 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package model
  2. // 关卡列表-LevelList exported from 关卡配置.xlsx
  3. type LevelList struct {
  4. Uid int64 `json:"Uid"` // 关卡编号 每个关卡都有一个唯一编号
  5. Type int64 `json:"Type"` // 关卡类型 1:多人 2:多人主线 3:单人主线 4:PVP
  6. Name string `json:"Name"` // 关卡名字
  7. Chapter int64 `json:"Chapter"` // 所属大章
  8. Level int64 `json:"Level"` // 本章排序 (小章节ID)
  9. Unlock [][]int64 `json:"Unlock"` // 解锁条件 [类型,数值] 1--玩家等级 2--通关前置章节
  10. WaveNum int64 `json:"WaveNum"` // 关卡总波数
  11. Cost [][]int64 `json:"Cost"` // 关卡消耗
  12. IconRes string `json:"IconRes"` // 入口怪物资源
  13. Map string `json:"Map"` // 调用场景
  14. WavePlan int64 `json:"WavePlan"` // 每关波数组号
  15. ConnectUp int64 `json:"ConnectUp"` // 连接上限提升组
  16. Restore float64 `json:"Restore"` // 要塞恢复 基础治疗力比例 小数
  17. CrystalGroup []int64 `json:"CrystalGroup"` // 小水晶出现逻辑 【基础水晶数,水晶随机组】
  18. Time int64 `json:"Time"` // 准备时间 秒
  19. PosPlan int64 `json:"PosPlan"` // 坐标点组号
  20. RandomPlan int64 `json:"RandomPlan"` // 刷新规则策略 读取刷新策略表组号
  21. EnhanceCost []int64 `json:"EnhanceCost"` // 召唤等级提升消耗 【初始消耗,随后累加量】
  22. InitGold int64 `json:"InitGold"` // 初始金币数 整数
  23. InitUse int64 `json:"InitUse"` // 初始刷新消耗 整数
  24. UseUp int64 `json:"UseUp"` // 刷新消耗成长 整数
  25. ResetTime int64 `json:"ResetTime"` // 重置时间 /天 -1:不会重置
  26. Award int64 `json:"Award"` // 掉落奖励组 波数掉落组合-RewardMix 中的ID
  27. Preview [][]int64 `json:"Preview"` // 奖励预览
  28. } // package model
  29. // 关卡每波组合-LevelWavePlan exported from 关卡配置.xlsx
  30. type LevelWavePlan struct {
  31. Uid int64 `json:"Uid"` // 唯一编号
  32. GroupId int64 `json:"GroupId"` // 所属组号
  33. Wave int64 `json:"Wave"` // 波数编号
  34. Time int64 `json:"Time"` // 单波总时间
  35. MonsterGroupId int64 `json:"MonsterGroupId"` // 每波出怪策略组号
  36. Level float64 `json:"Level"` // 怪物成长等级
  37. Pen int64 `json:"Pen"` // 每波全局穿透
  38. Countdown int64 `json:"Countdown"` // 结束倒计时 普通:3秒 结尾:0秒
  39. Award [][]int64 `json:"Award"` // 提前结束奖励
  40. } // package model
  41. // 出怪策略组-LevelMonsterPlan exported from 关卡配置.xlsx
  42. type LevelMonsterPlan struct {
  43. Uid int64 `json:"Uid"` // 唯一编号
  44. GroupId int64 `json:"GroupId"` // 策略组号
  45. Id int64 `json:"Id"` // 小编号
  46. MonsterUid int64 `json:"MonsterUid"` // 怪物ID
  47. Interval int64 `json:"Interval"` // 生成间隔时间 秒 可以小数值 生成下一个的间隔
  48. Delay int64 `json:"Delay"` // 延迟生成时间 秒 每波开头时的只针对第一只怪的延迟
  49. PosList []int64 `json:"PosList"` // 生成坐标点编号列表 对应出怪坐标点配置中的坐标点编号
  50. Award [][]int64 `json:"Award"` // 怪物死亡奖励货币 [[道具id,数量]]
  51. } // package model
  52. // 出怪坐标点-LevelPosPlan exported from 关卡配置.xlsx
  53. type LevelPosPlan struct {
  54. Uid int64 `json:"Uid"` // 唯一ID
  55. GroupId int64 `json:"GroupId"` // 组号
  56. PosId int64 `json:"PosId"` // 坐标点编号
  57. Angle int64 `json:"Angle"` // 角度
  58. Range int64 `json:"Range"` // 离中心距离 像素数
  59. } // package model
  60. // 刷新策略组-LevelEnhancePlan exported from 关卡配置.xlsx
  61. type LevelEnhancePlan struct {
  62. Uid int64 `json:"Uid"` // 唯一编号
  63. GroupId int64 `json:"GroupId"` // 组编号
  64. Level int64 `json:"Level"` // 等级
  65. Quality int64 `json:"Quality"` // 品质 1:1 2:2 3:3 4:4
  66. Weight int64 `json:"Weight"` // 出现权重
  67. } // package model
  68. // 连接上限提升-LevelConnectUp exported from 关卡配置.xlsx
  69. type LevelConnectUp struct {
  70. Uid int64 `json:"Uid"` // 唯一编号
  71. GroupId int64 `json:"GroupId"` // 组编号
  72. Level int64 `json:"Level"` // 等级
  73. UpNum int64 `json:"UpNum"` // 提升数量
  74. Use int64 `json:"Use"` // 消耗幸运币
  75. }
  76. // 关卡进度奖励-ProgressReward exported from 关卡进度奖励.xlsx
  77. type ProgressReward struct {
  78. Uid int64 `json:"Uid"` // 关卡编号 每个关卡都有一个唯一编号
  79. WaveNum int64 `json:"WaveNum"` // 波数
  80. FirstReward [][]int64 `json:"FirstReward"` // 首通奖励列表 【【道具ID,数量】】
  81. CycleReward [][]int64 `json:"CycleReward"` // 循环奖励列表 【【道具ID,数量】】
  82. }