攻击次数 继续完善

This commit is contained in:
2025-06-12 10:56:12 +08:00
parent a0bd1da1ca
commit 4c0d1023a0
8 changed files with 91 additions and 53 deletions

View File

@@ -119,7 +119,8 @@ export class BattleMoveSystem extends ecs.ComblockSystem implements ecs.ISystemU
const currentPos = entity.get(HeroViewComp).node.position;
const team = entity.get(HeroViewComp).fac;
const view = entity.get(HeroViewComp);
const isMelee = view.type === 0;
// const isMelee = view.type === 0;
const isMelee = false;
return ecs.query(ecs.allOf(HeroViewComp)).some(e => {
const view = e.get(HeroViewComp);