攻击次数 继续完善
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user