From 43eb7b2a9f90829545bf1a41f4853d97a8d5721d Mon Sep 17 00:00:00 2001 From: Yemaxul <62631141+yemaxul@users.noreply.github.com> Date: Wed, 16 Oct 2024 21:39:15 +0800 Subject: [PATCH] 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加传送至枫丹的每日委托和派遣 --- repo/js/Auto Commission && Expedition/main.js | 11 +++++++++++ repo/js/Auto Commission && Expedition/manifest.json | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 repo/js/Auto Commission && Expedition/main.js create mode 100644 repo/js/Auto Commission && Expedition/manifest.json diff --git a/repo/js/Auto Commission && Expedition/main.js b/repo/js/Auto Commission && Expedition/main.js new file mode 100644 index 00000000..471154db --- /dev/null +++ b/repo/js/Auto Commission && Expedition/main.js @@ -0,0 +1,11 @@ +(async function () { + //传送到枫丹 + log.info('开始传送到枫丹廷'); + let Catherine_Egeria = `assets/AutoPath/冒险家协会_枫丹.json`; + await pathingScript.runFile(Catherine_Egeria); + log.info('开始每日委托或探索派遣,若无退出对话,则说明重复领取或未完成派遣'); + // 自动每日或纪行 + await keyPress("f"); + dispatcher.addTimer(new RealtimeTimer("AutoSkip", { "forceInteraction": true })); + +})(); \ No newline at end of file diff --git a/repo/js/Auto Commission && Expedition/manifest.json b/repo/js/Auto Commission && Expedition/manifest.json new file mode 100644 index 00000000..227c4625 --- /dev/null +++ b/repo/js/Auto Commission && Expedition/manifest.json @@ -0,0 +1,13 @@ +{ + "manifest_version": 1, + "name": "自动领取委托或派遣", + "version": "1.0", + "description": "自动传送到枫丹并领取每日委托或探索派遣,两个都要请运行两次,建议搭配领取历练点使用", + "authors": [ + { + "name": "yemaxul", + "link": "https://github.com/yemaxul" + } + ], + "main": "main.js" +} \ No newline at end of file