28 lines
1.1 KiB
Go
28 lines
1.1 KiB
Go
package data
|
|
|
|
type RigPendant struct {
|
|
Id int `json:"id"` //索引
|
|
ItemId int `json:"item_ID"` //挂件ID
|
|
ModleID int `json:"modleID"` //模型ID
|
|
SortBy int `json:"sort_by"` //排序(小到大)
|
|
Level int `json:"level"` //等级
|
|
NextId int `json:"next_id"` //下一级挂件ID
|
|
CostItemId []int `json:"cost_item_id"` //升级消耗道具ID
|
|
CostItemNum []int `json:"cost_item_num"` //升级消耗道具数量
|
|
CarryAttrType1 int `json:"carry_attr_type1"` //携带属性类型1
|
|
CarryAttrValue1 int `json:"carry_attr_value1"` //携带加成固定值1
|
|
AttrType1 int `json:"attr_type1"` //属性类型1
|
|
AttrValue1 int `json:"attr_value1"` //加成固定值1
|
|
SkillId int `json:"skill_id"` // 技能id
|
|
MonsterGroup []int `json:"monster_group"` //攻击怪物类型
|
|
PassiveSkill []int `json:"passive_skill"` //被动技能
|
|
}
|
|
|
|
func (data *RigPendant) id() int {
|
|
return data.Id
|
|
}
|
|
|
|
type RigPendantTable struct {
|
|
table[int, *RigPendant]
|
|
}
|