From d50c4c0d2ca122e020eddc382c4a7f7c85c26969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=AA=E7=B1=BD=E9=98=B3=E5=A4=96=E5=A9=86?= <2915414902@qq.com> Date: Thu, 7 Nov 2024 00:34:40 +0800 Subject: [PATCH] PathingLogOutput --- repo/js/AutoArtifacts/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repo/js/AutoArtifacts/main.js b/repo/js/AutoArtifacts/main.js index 56bcb22c..11378600 100644 --- a/repo/js/AutoArtifacts/main.js +++ b/repo/js/AutoArtifacts/main.js @@ -5,7 +5,7 @@ dispatcher.addTimer(new RealtimeTimer("AutoPick")); async function logTaskStart() { - const messages = [ + const messages = [ '此脚本运行时间约45-50分钟', '确保地图的按键为M键', '左上角派蒙头像未被其他悬浮窗遮挡', @@ -39,6 +39,7 @@ async function AutoPath(locationName) { try { + log.info(`前往 ${locationName}`); let filePath = `assets/AutoPath/${locationName}.json`; await pathingScript.runFile(filePath); } catch (error) {