继续完善 装备buff

This commit is contained in:
2025-06-12 16:24:23 +08:00
parent 4c0d1023a0
commit cb38aa55a4
12 changed files with 227 additions and 190 deletions

View File

@@ -28,7 +28,9 @@ export class BattleMoveSystem extends ecs.ComblockSystem implements ecs.ISystemU
this.updateRenderOrder(e);
// 同步状态
if (!shouldStop&&view.fac==1) {
// if (!shouldStop&&view.fac==1) { //在攻击范围内停止移动 取消这个判断
if(view.fac==1){
if(view.is_stop||view.is_dead) return //停止移动或者死亡不移动
// 计算移动量
const delta = (view.speed/3) * this.dt * move.direction;