From a17a39692789fbfc2530426ccb154a7260124417 Mon Sep 17 00:00:00 2001 From: chicrobot Date: Fri, 30 Jan 2026 17:35:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(ASTS)=20=E4=BF=AE=E5=A4=8D=E6=8F=90?= =?UTF-8?q?=E5=89=8D=E6=94=B6=E5=9B=9E=E5=82=80=E5=84=A1=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/testScenes/AttackSkillTestScene.js | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/scenes/testScenes/AttackSkillTestScene.js b/scenes/testScenes/AttackSkillTestScene.js index 425e566..c2703d3 100644 --- a/scenes/testScenes/AttackSkillTestScene.js +++ b/scenes/testScenes/AttackSkillTestScene.js @@ -1102,10 +1102,17 @@ export default class AttackSkillTestScene extends Phaser.Scene { yuange.setSelected(true); // 更新UI提示 - this.controlInfoText.setText('当前控制: 元歌'); - - // 更新技能轮盘显示为元歌本体的技能 - this.updateSkillWheelDisplay(); + this.controlInfoText.setText('当前控制: 元歌'); + + // 恢复本体的移动能力 + const yuange = this.currentlyControlled; + if (yuange) { + yuange.canMove = true; + yuange.setVelocity(0, 0); + } + + // 更新技能轮盘显示为元歌本体的技能 + this.updateSkillWheelDisplay(); // 更新选择系统并锁定相机到本体 import('../../systems/ControlMode.js').then(mod => { @@ -1512,6 +1519,13 @@ export default class AttackSkillTestScene extends Phaser.Scene { // 更新UI提示 this.controlInfoText.setText('当前控制: 元歌'); + // 恢复本体的移动能力 + const yuange = this.currentlyControlled; + if (yuange) { + yuange.canMove = true; + yuange.setVelocity(0, 0); + } + // 更新技能轮盘显示为元歌本体的技能 this.updateSkillWheelDisplay();