Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Skill skill
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { CfgId int `json:"cfgId"` Name string `json:"name"` Trigger int `json:"trigger"` //发起类型 Target int `json:"target"` //目标类型 Des string `json:"des"` Limit int `json:"limit"` //可以被武将装备上限 Duration int `json:"duration"` //技能持续时间,0为瞬时 Arms []int `json:"arms"` //可以装备的兵种 IncludeEffect []int `json:"include_effect"` //技能包括的效果 Levels []level `json:"levels"` }
func (*Conf) IsHitAfter ¶
func (*Conf) IsHitBefore ¶
type EffectType ¶
type EffectType int
const ( HurtRate EffectType = iota + 1 //伤害率 Force Defense Strategy Speed Destroy )
type TargetType ¶
type TargetType int
const ( MySelf TargetType = iota + 1 //自己 OurSingle //我军单体 OurMostTwo //我军1-2个目标 OurMostThree //我军1-3个目标 OurAll //我军全体 EnemySingle //敌军单体 EnemyMostTwo //敌军1-2个目标 EnemyMostThree //我军1-3个目标 EnemyAll //敌军全体 )
type TriggerType ¶
type TriggerType int
Click to show internal directories.
Click to hide internal directories.