ecs/servers/game/data_old/rig_smelter.go
2025-06-04 18:17:39 +08:00

24 lines
873 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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]
}