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": [ {