2025-06-04 18:17:39 +08:00

27 lines
1.1 KiB
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 Skill struct {
Id int `json:"id"` //索引ID
SkillId int `json:"skill_id"` //基础ID(技能第一级的ID)
NextId int `json:"next_id"` //下一技能ID
SkillLevel int `json:"skill_level"` //技能等级
NameShow int `json:"name_show"` //技能飘字
SkillType int `json:"skillType"` //技能类型
CastType int `json:"castType"` //施法类型
CastDist float64 `json:"castDist"` //施法距离
Buffs []int `json:"buffs"` //技能效果
RandomBuff1 []int `json:"random_buff_1"` //随机技能效果
SkillPriority int `json:"skill_priority"` //技能施放优先级
SkillTime float64 `json:"skill_time"` //技能表现(动作+特效总时长ms
CoolDown int `json:"cool_down"` //技能冷却时间ms
UltEnergy int `json:"ultEnergy"` //奥义大招能量
}
func (data *Skill) id() int {
return data.Id
}
type SkillTable struct {
table[int, *Skill]
}