From 54f64921cbfa80456f1072e3be2aa9822fb6dce8 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: Sun, 13 Oct 2024 20:48:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E5=8F=96=E7=BA=AA=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/BattlePass/main.js | 12 ++++++++++++ repo/js/BattlePass/manifest.json | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 repo/js/BattlePass/main.js create mode 100644 repo/js/BattlePass/manifest.json diff --git a/repo/js/BattlePass/main.js b/repo/js/BattlePass/main.js new file mode 100644 index 00000000..c30d21bb --- /dev/null +++ b/repo/js/BattlePass/main.js @@ -0,0 +1,12 @@ +(async function () { + setGameMetrics(3840, 2160, 2); + keyPress("F4"); + await sleep(1500); + click(1920, 100); + await sleep(1000); + click(3480, 1948); + await sleep(1000); + keyPress("Escape"); + + log.info("已领取历练点"); +})(); \ No newline at end of file diff --git a/repo/js/BattlePass/manifest.json b/repo/js/BattlePass/manifest.json new file mode 100644 index 00000000..d3ab9b25 --- /dev/null +++ b/repo/js/BattlePass/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "领取纪行", + "version": "1.0", + "description": "用于领取纪行", + "authors": [ + { + "name": "HZYgrandma", + } + ], + "main": "main.js", +} \ No newline at end of file