PathingLogOutput

This commit is contained in:
洪籽阳外婆
2024-11-07 00:34:40 +08:00
committed by GitHub
parent fedd4b841a
commit d50c4c0d2c

View File

@@ -5,7 +5,7 @@
dispatcher.addTimer(new RealtimeTimer("AutoPick")); dispatcher.addTimer(new RealtimeTimer("AutoPick"));
async function logTaskStart() { async function logTaskStart() {
const messages = [ const messages = [
'此脚本运行时间约45-50分钟', '此脚本运行时间约45-50分钟',
'确保地图的按键为M键', '确保地图的按键为M键',
'左上角派蒙头像未被其他悬浮窗遮挡', '左上角派蒙头像未被其他悬浮窗遮挡',
@@ -39,6 +39,7 @@
async function AutoPath(locationName) { async function AutoPath(locationName) {
try { try {
log.info(`前往 ${locationName}`);
let filePath = `assets/AutoPath/${locationName}.json`; let filePath = `assets/AutoPath/${locationName}.json`;
await pathingScript.runFile(filePath); await pathingScript.runFile(filePath);
} catch (error) { } catch (error) {