fix: prettier format error.

This commit is contained in:
Rintim 2024-04-17 13:02:37 +08:00
parent 4ef4af98af
commit f19a5d4f69
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 6 additions and 6 deletions

View File

@ -7308,7 +7308,7 @@ export class Game {
for (let i = 0; i < event.config.size; i++) {
ui.window.appendChild(event.nodes[i]);
}
("step 1");
"step 1";
let rand1 = event.config.first;
if (rand1 == "rand") {
rand1 = Math.random() < 0.5;
@ -7350,7 +7350,7 @@ export class Game {
}
game.delay();
lib.init.onfree();
("step 2");
"step 2";
if (event.checkredo()) return;
if (event._skiprest) return;
if (event.side < 2) {
@ -7366,7 +7366,7 @@ export class Game {
event.aiMove();
game.delay();
}
("step 3");
"step 3";
if (typeof event.fast == "number" && get.time() - event.fast <= 1000) {
event.fast = true;
} else {
@ -7401,7 +7401,7 @@ export class Game {
game.delay();
}
}
("step 4");
"step 4";
if (event.checkredo()) return;
if (event.skipnode) event.skipnode.delete();
if (event.replacenode) event.replacenode.delete();
@ -7423,7 +7423,7 @@ export class Game {
}
}
game.delay();
("step 5");
"step 5";
event.prompt("选择" + get.cnNumber(event.config.num) + "名出场武将");
event.enemylist = [];
for (let i = 0; i < event.avatars.length; i++) {
@ -7453,7 +7453,7 @@ export class Game {
event.nodes[i].hide();
}
game.pause();
("step 6");
"step 6";
event.promptbar.delete();
if (ui.cardPileButton) ui.cardPileButton.style.display = "";
lib.onresize.remove(event.resize);