24 lines
873 B
Go
24 lines
873 B
Go
![]() |
package data
|
|||
|
|
|||
|
type RigSmelter struct {
|
|||
|
Id int `json:"id"` //索引(ID,可以做为等级)
|
|||
|
Type int `json:"type"` //熔炉类型
|
|||
|
Level int `json:"level"` //熔炉等级
|
|||
|
SmeltExp int `json:"smelt_exp"` //熔炼经验
|
|||
|
UpgradeExp int `json:"upgrade_exp"` //升级经验
|
|||
|
NextId int `json:"next_id"` //下一级ID
|
|||
|
DropId int `json:"drop_id"` //掉落ID
|
|||
|
TimesList []int `json:"times_list"` //次数
|
|||
|
CostItemId []int `json:"cost_item_id"` //消耗货币ID
|
|||
|
CostItemNum []int `json:"cost_item_num"` //消耗货币数量
|
|||
|
QualityRate [][3]float64 `json:"quality_rate"` //品质概率
|
|||
|
}
|
|||
|
|
|||
|
func (data *RigSmelter) id() int {
|
|||
|
return data.Id
|
|||
|
}
|
|||
|
|
|||
|
type RigSmelterTable struct {
|
|||
|
table[int, *RigSmelter]
|
|||
|
}
|