Files
heros/@Progress.md

18 lines
955 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 进度更新
- 重构了动画结束处理逻辑,统一使用 EndAnmCom 组件
- 简化了技能组件代码,移除了重复的动画处理逻辑
- 修复了 SkillCom.ts 中的静态方法调用错误
- 将 this.bezierTo 改为 SkillCom.bezierTo 以正确访问静态方法
- 添加了 fixedStart 和 fixedEnd 两种新的技能移动方式
- 完善了技能移动系统,使其与配置表定义的 AnimType 完全匹配
- 为固定位置类型技能添加了动画结束endType.animationEnd支持
- 实现了动画播放完成后的技能销毁逻辑
- 修改了直线技能的结束条件,改为到达目标点时销毁
- 移除了不必要的屏幕边界检测
- 优化了技能伤害延迟计算逻辑
- 为抛物线类型技能添加了基于距离和速度的动态延迟计算
## 技能系统改进
- 优化了技能效果延迟时间的计算
- 添加了目标移动速度的考虑
- 实现了相向运动时的相对速度计算