fix: 修复NewSeIdx_5伤害锁定的类型检查
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-02 14:24:50 +08:00
parent 45175d9a60
commit 4592e1d2f8

View File

@@ -22,6 +22,9 @@ func (e *NewSel5) DamageLockEx(t *info.DamageZone) bool {
if e.Ctx().SkillEntity == nil {
return true
}
if t.Type != info.DamageType.Red {
return true
}
_, ok := lo.Find(append(e.Args(), alpacadecimal.NewFromInt(8)), func(item alpacadecimal.Decimal) bool {
return int(item.IntPart()) == e.Ctx().Type