diff --git a/repo/js/AutoEnter/main.js b/repo/js/AutoEnter/main.js index 2b687062a..301b141db 100644 --- a/repo/js/AutoEnter/main.js +++ b/repo/js/AutoEnter/main.js @@ -69,15 +69,15 @@ let enteredPlayers = []; if (enteringUID) { await keyPress("F2"); //点击输入uid - await sleep(500); + await sleep(2000); if (!await findAndClick(enterUIDRo)) { await genshin.returnMainUi(); continue; } - await sleep(500); + await sleep(1000); inputText(enteringUID); //点击搜索 - await sleep(500); + await sleep(1000); if (!await findAndClick(searchRo)) { await genshin.returnMainUi(); continue; @@ -265,7 +265,7 @@ async function getPlayerSign() { } async function confirmSearchResult() { - maxAttempts = 3; + maxAttempts = 5; for (let attempts = 0; attempts < maxAttempts; attempts++) { const gameRegion = captureGameRegion(); try { diff --git a/repo/js/AutoEnter/manifest.json b/repo/js/AutoEnter/manifest.json index c041fad03..e9fd1ac1b 100644 --- a/repo/js/AutoEnter/manifest.json +++ b/repo/js/AutoEnter/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "进入联机状态", - "version": "0.0.2", + "version": "0.0.3", "tags": [ "狗粮" ],