```
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

refactor(effect): 移除未使用的element导入并优化自然敌人判断逻辑

移除了NewSeIdx_14.go中未使用的element包导入,将自然敌人判断逻辑
提取到EffectNode基类中,通过ISNaturalEnemy方法统一处理。
```
This commit is contained in:
昔念
2026-03-08 22:43:51 +08:00
parent 0cff02158b
commit 90f653d3ee
14 changed files with 366 additions and 528 deletions

View File

@@ -266,6 +266,8 @@ func (our *Input) Parseskill(skill *action.SelectSkillAction) {
// t.Alive() //先让效果保持存活
our.EffectCache = append(our.EffectCache, t)
// i.NewEffects = append(i.NewEffects, t)
} else {
fmt.Println("技能效果不存在", v)
}
temparg = temparg[args:]