mirror of
http://junepve.top:3000/chicrobot/CINC.git
synced 2026-10-29 23:41:29 +08:00
fix(ASTS) 修复提前收回傀儡无法移动的问题
This commit is contained in:
1 parent
3ced49e6d1
commit
a17a396927
1 file changed
+17
-3
@@ -1102,10 +1102,17 @@ export default class AttackSkillTestScene extends Phaser.Scene {
|
||||
yuange.setSelected(true);
|
||||
|
||||
// 更新UI提示
|
||||
this.controlInfoText.setText('当前控制: 元歌');
|
||||
this.controlInfoText.setText('当前控制: 元歌');
|
||||
|
||||
// 更新技能轮盘显示为元歌本体的技能
|
||||
this.updateSkillWheelDisplay();
|
||||
// 恢复本体的移动能力
|
||||
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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user