技能系统还要,伤害逻辑交给碰撞系统处理

This commit is contained in:
2025-03-26 13:49:11 +08:00
parent ae30a865c7
commit 4335a8500b
4 changed files with 35 additions and 121 deletions

View File

@@ -28,7 +28,7 @@ export class HeroSkillSystem extends ecs.ComblockSystem implements ecs.ISystemUp
update(e: ecs.Entity) {
return false
//return false
// 处理伤害队列
this.processDamageQueue();
const view = e.get(HeroViewComp);