fix: 移除v8报错
This commit is contained in:
@@ -754,6 +754,7 @@ async function AutoFriendshipDev(times, ocrTimeout, fightTimeout, enemyType = "
|
||||
]);
|
||||
await pathTaskPromise; // 等待路径任务完成
|
||||
cts.cancel();
|
||||
await battleTask;
|
||||
} catch (error) {
|
||||
cts.cancel();
|
||||
if (error.message && error.message.includes("战斗超时")) {
|
||||
@@ -1269,4 +1270,4 @@ async function mora() {
|
||||
await genshin.returnMainUi();
|
||||
}
|
||||
return Number(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user