diff --git a/repo/js/WeeklyThousandStarRealm/main.js b/repo/js/WeeklyThousandStarRealm/main.js index 4702becb5..5f8db676f 100644 --- a/repo/js/WeeklyThousandStarRealm/main.js +++ b/repo/js/WeeklyThousandStarRealm/main.js @@ -205,11 +205,11 @@ async function findSaveInList(keyword) { return region; } + moveMouseTo(890, 800); // 向下滚动 - moveMouseTo(1800, 500); - await sleep(100); - await mouseScrollDown(400); - await sleep(500); + for (let count = 0; count < 5; count++) { + verticalScroll(-10); + } } return null; @@ -325,7 +325,7 @@ async function createMap() { // 从收藏创建关卡 async function createStarMap() { await findTextAndClick("搜索", 0, 0, 1920, 120); - inputText(starRoomName); + inputText(roomID); await sleep(1000); await findTextAndClick("搜索", 0, 0, 1920, 120); await sleep(duration); diff --git a/repo/js/WeeklyThousandStarRealm/manifest.json b/repo/js/WeeklyThousandStarRealm/manifest.json index 20365af20..37da30a38 100644 --- a/repo/js/WeeklyThousandStarRealm/manifest.json +++ b/repo/js/WeeklyThousandStarRealm/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "千星奇域每周成就经验刷取", - "version": "2.6", + "version": "2.7", "bgi_version": "0.54.0", "description": "无需自己找图,可用于利用成就高经验值刷取经验,默认配置每周刷满需要24分钟", "authors": [