feat(战斗系统): 实现伤害队列机制优化战斗处理

重构伤害处理逻辑,将直接伤害组件改为队列系统
- 新增DamageQueueComp组件管理伤害事件队列
- 添加DamageQueueHelper工具类处理伤害事件添加和查询
- 修改HeroAtkSystem改为处理伤害队列而非单个伤害
- 移除旧的DmgDataCom组件及相关引用
- 优化SkillView.apply_damage使用新队列系统
This commit is contained in:
2025-10-31 20:08:43 +08:00
parent 8e0d09fc98
commit b8f48e09d6
7 changed files with 278 additions and 85 deletions

View File

@@ -2,8 +2,6 @@ import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ec
import { Attrs, AttrsType, BType, NeAttrs } from "../common/config/HeroAttrs";
import { BuffConf, SkillSet } from "../common/config/SkillSet";
import { HeroInfo, AttrSet, HeroUpSet } from "../common/config/heroSet";
import { DmgDataCom } from "../skill/SDataCom";
import { EBusComp } from "./EBusComp";
@ecs.register('HeroAttrs')