refactor(技能/英雄): 重构移动结束检测和冰冻状态逻辑

- 移除移动结束类型中的距离结束检测,仅保留碰撞结束
- 删除 HeroViewComp 中未使用的 mp_add 和 playIntervalEffect 方法
- 简化 HeroAttrsComp 中冰冻状态判断逻辑,移除 in_frost 字段
- 在 HeroBuffSystem 中添加定时器自动减少冰冻剩余时间
This commit is contained in:
walkpan
2026-03-19 18:49:19 +08:00
parent 1bb2d6072e
commit 50936dce1d
3 changed files with 13 additions and 47 deletions

View File

@@ -168,7 +168,6 @@ export class SMoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate
if (moveComp.isCompleted && moveComp.autoDestroy) {
// 根据结束类型决定是否销毁
if (
moveComp.endType === EType.distanceEnd ||
moveComp.endType === EType.collision
) {
skillView.close_collider();