mirror of
http://junepve.top:3000/chicrobot/CINC.git
synced 2026-10-30 07:51:29 +08:00
fix(ASTS) 修复提前收回傀儡无法移动的问题
This commit is contained in:
1 parent
3ced49e6d1
commit
a17a396927
1 file changed
+14
@@ -1104,6 +1104,13 @@ export default class AttackSkillTestScene extends Phaser.Scene {
|
|||||||
// 更新UI提示
|
// 更新UI提示
|
||||||
this.controlInfoText.setText('当前控制: 元歌');
|
this.controlInfoText.setText('当前控制: 元歌');
|
||||||
|
|
||||||
|
// 恢复本体的移动能力
|
||||||
|
const yuange = this.currentlyControlled;
|
||||||
|
if (yuange) {
|
||||||
|
yuange.canMove = true;
|
||||||
|
yuange.setVelocity(0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
// 更新技能轮盘显示为元歌本体的技能
|
// 更新技能轮盘显示为元歌本体的技能
|
||||||
this.updateSkillWheelDisplay();
|
this.updateSkillWheelDisplay();
|
||||||
|
|
||||||
@@ -1512,6 +1519,13 @@ export default class AttackSkillTestScene extends Phaser.Scene {
|
|||||||
// 更新UI提示
|
// 更新UI提示
|
||||||
this.controlInfoText.setText('当前控制: 元歌');
|
this.controlInfoText.setText('当前控制: 元歌');
|
||||||
|
|
||||||
|
// 恢复本体的移动能力
|
||||||
|
const yuange = this.currentlyControlled;
|
||||||
|
if (yuange) {
|
||||||
|
yuange.canMove = true;
|
||||||
|
yuange.setVelocity(0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
// 更新技能轮盘显示为元歌本体的技能
|
// 更新技能轮盘显示为元歌本体的技能
|
||||||
this.updateSkillWheelDisplay();
|
this.updateSkillWheelDisplay();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user