28 lines
493 B
Go
28 lines
493 B
Go
package effect
|
|
|
|
import (
|
|
"blazing/logic/service/fight/info"
|
|
"blazing/logic/service/fight/input"
|
|
)
|
|
|
|
// T84. 属性技能无效
|
|
type NewSel84 struct {
|
|
NewSel0
|
|
}
|
|
|
|
func (e *NewSel84) SkillHit_ex() bool {
|
|
if e.ID().GetCatchTime() != e.Ctx().Our.CurPet[0].Info.CatchTime {
|
|
return true
|
|
}
|
|
|
|
if e.Ctx().SkillEntity.Category() != info.Category.STATUS {
|
|
return true
|
|
}
|
|
e.Ctx().SkillEntity.SetNoSide()
|
|
|
|
return true
|
|
}
|
|
func init() {
|
|
input.InitEffect(input.EffectType.NewSel, 84, &NewSel84{})
|
|
}
|