Files
bl/logic/service/fight/boss/NewSeIdx_284.go
xinian 9c6f3988de
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
refactor: 重构 CurrentPet 为 CurPet
2026-04-04 04:34:43 +08:00

30 lines
546 B
Go

package effect
import (
"blazing/logic/service/fight/info"
"blazing/logic/service/fight/input"
"github.com/alpacahq/alpacadecimal"
)
// T284.
type NewSel284 struct {
NewSel0
}
func (e *NewSel284) DamageDivEx(t *info.DamageZone) bool {
if e.ID().GetCatchTime() != e.Ctx().Our.CurPet[0].Info.CatchTime {
return true
}
if e.Ctx().SkillEntity.XML.Priority > 0 {
return true
}
//e.Ctx().SkillEntity.SetMiss()
t.Damage = alpacadecimal.Zero
return true
}
func init() {
input.InitEffect(input.EffectType.NewSel, 284, &NewSel284{})
}