refactor(effect): 移除未使用的element导入并优化自然敌人判断逻辑 移除了NewSeIdx_14.go中未使用的element包导入,将自然敌人判断逻辑 提取到EffectNode基类中,通过ISNaturalEnemy方法统一处理。 ```
This commit is contained in:
@@ -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:]
|
||||
|
||||
Reference in New Issue
Block a user