继续完善 装备buff
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user