refactor(技能系统): 移除未使用属性并优化目标选择逻辑

- 移除 Skill.ts 中未使用的 wfuny 属性赋值
- 将 SCastSystem 中的目标选择逻辑重构为统一方法
- 在施放技能前增加目标有效性检查,避免无效操作
- 移除 HeroAtkSystem 中未使用的导入和接口字段
- 调整 SkillSet 中技能 6008 的 ready 参数值
This commit is contained in:
walkpan
2026-03-16 19:33:24 +08:00
parent 5d24dbff29
commit a634b33f6b
4 changed files with 25 additions and 19 deletions

View File

@@ -202,7 +202,6 @@ export class Skill extends ecs.Entity {
sDataCom.Attrs[Attrs.slow_chance] = cAttrsComp.slow_chance;
sDataCom.Attrs[Attrs.puncture] = cAttrsComp.puncture;
sDataCom.Attrs[Attrs.puncture_dmg] = cAttrsComp.puncture_dmg;
sDataCom.Attrs[Attrs.wfuny] = cAttrsComp.wfuny;
sDataCom.s_uuid=s_uuid
sDataCom.fac=cAttrsComp.fac