rune.go 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package model
  2. // 符文表-Rune exported from 符文配置.xlsx
  3. type Rune struct {
  4. Uid int64 `json:"Uid"` // 唯一ID
  5. Type int64 `json:"Type"` // 符文类型 1--凯旋符文 2--均衡符文 3--专注符文 4--战争符文 5--戒律符文 6--潜能符文
  6. Name string `json:"Name"` // 名称
  7. FortModeLv int64 `json:"FortModeLv"` // 要塞等级要求
  8. Res string `json:"Res"` // 资源
  9. Grade int64 `json:"Grade"` // 品阶
  10. Quality int64 `json:"Quality"` // 品质 1--白 2--绿 3--蓝 4--紫 5--橙 6--红
  11. Ant int64 `json:"Ant"` // 领主攻击
  12. PAnt float64 `json:"PAnt"` // 英雄攻击
  13. UpType int64 `json:"UpType"` // 升级属性
  14. Num int64 `json:"Num"` // 词条数量
  15. Disintegration []int64 `json:"Disintegration"` // 分解道具
  16. }
  17. // 符文升级表-RuneUp exported from 符文配置.xlsx
  18. type RuneLevel struct {
  19. Uid int64 `json:"Uid"` // 唯一ID
  20. UpType int64 `json:"UpType"` // 升级类型
  21. Lv int64 `json:"Lv"` // 等级
  22. IsSelf int64 `json:"IsSelf"` // 领主攻击数值增加值
  23. Way float64 `json:"Way"` // 英雄攻击数值增加值
  24. Range [][]int64 `json:"Range"` // 消耗
  25. }
  26. // 符文重铸词条表-RuneEntry exported from 符文配置.xlsx
  27. type RuneEntry struct {
  28. Uid int64 `json:"Uid"` // 唯一ID
  29. Des string `json:"Des"` // 词条描述
  30. AttType int64 `json:"AttType"` // 属性类型
  31. Down int64 `json:"Down "` // 品阶下限
  32. Up int64 `json:"Up"` // 品阶上限
  33. Range []float64 `json:"Range"` // 数值范围
  34. Weight int64 `json:"Weight"` // 权重
  35. }
  36. // 符文重铸消耗表-RuneUse exported from 符文配置.xlsx
  37. type RuneUse struct {
  38. Uid int64 `json:"Uid"` // 唯一ID
  39. Grade int64 `json:"Grade"` // 品阶
  40. Quality int64 `json:"Quality"` // 品质
  41. RuneUse []int64 `json:"RuneUse"` // 重铸消耗
  42. LockUse []int64 `json:"LockUse"` // 锁定消耗 (每锁定1条的消耗)
  43. }