From 7141a58bac6a666bb8a551974d30600d855ecfad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BA=81=E5=8A=A8=E7=9A=84=E6=B0=A8=E6=B0=94?= <131591012+zaodonganqi@users.noreply.github.com> Date: Sun, 14 Dec 2025 10:29:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=88=90=E5=B0=B1=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E8=A2=AB=E5=BC=BA=E5=88=B6=E5=BC=80=E5=90=AF=20(#2492?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/WeeklyThousandStarRealm/main.js | 14 +++++--------- repo/js/WeeklyThousandStarRealm/manifest.json | 4 ++-- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/repo/js/WeeklyThousandStarRealm/main.js b/repo/js/WeeklyThousandStarRealm/main.js index 09903db59..d3883a628 100644 --- a/repo/js/WeeklyThousandStarRealm/main.js +++ b/repo/js/WeeklyThousandStarRealm/main.js @@ -3,9 +3,9 @@ const interval = 1000; // 每次间隔 ms const duration = 1000; // 默认点击等待延时 const storePath = "data/store.json" -const runJS = settings.runJS || false; -const achievementMode = settings.achievementMode || true; -const starMode = settings.starMode || false; +const runJS = settings.runJS; +const achievementMode = settings.achievementMode; +const starMode = settings.starMode; const roomID = settings.room || "37135473336"; const starRoomName = settings.starRoomName || "碰碰墙"; const userAttempts = Number(settings.thisAttempts || "0"); @@ -306,9 +306,7 @@ async function playMap() { } } - if (achievementMode) { - await deleteSource(); - } + await deleteSource(); for (let i = 1; i < total; i++) { const inRoom = await findText("房间", 1500, 0, 420, 500); @@ -357,9 +355,7 @@ async function playMap() { await sleep(interval); } } - if (achievementMode) { - await deleteSource(); - } + await deleteSource(); } } } diff --git a/repo/js/WeeklyThousandStarRealm/manifest.json b/repo/js/WeeklyThousandStarRealm/manifest.json index 9973c35b4..a6ddc4e85 100644 --- a/repo/js/WeeklyThousandStarRealm/manifest.json +++ b/repo/js/WeeklyThousandStarRealm/manifest.json @@ -1,8 +1,8 @@ { "manifest_version": 1, "name": "千星奇域每周成就经验刷取", - "version": "2.1", - "bgi_version": "0.53.0", + "version": "2.2", + "bgi_version": "0.54.0", "description": "可用于利用成就高经验值刷取经验,默认配置每周刷满需要24分钟", "authors": [ {