refactor(技能系统): 移除未使用属性并优化目标选择逻辑
- 移除 Skill.ts 中未使用的 wfuny 属性赋值 - 将 SCastSystem 中的目标选择逻辑重构为统一方法 - 在施放技能前增加目标有效性检查,避免无效操作 - 移除 HeroAtkSystem 中未使用的导入和接口字段 - 调整 SkillSet 中技能 6008 的 ready 参数值
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user