From 7ed278854a6bafdd88cfa41481927d82317c0092 Mon Sep 17 00:00:00 2001 From: Jamis Date: Mon, 2 Feb 2026 17:53:13 +1100 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E8=B4=AD?= =?UTF-8?q?=E4=B9=B0=E9=A3=9F=E6=9D=90=E8=84=9A=E6=9C=AC=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#2836)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复自动购买食材脚本中的两个问题 * Update main.js * remove extra line breaks --- repo/js/自动购买每天&3天&每周刷新商品/main.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/repo/js/自动购买每天&3天&每周刷新商品/main.js b/repo/js/自动购买每天&3天&每周刷新商品/main.js index 9a375b977..8c2126056 100644 --- a/repo/js/自动购买每天&3天&每周刷新商品/main.js +++ b/repo/js/自动购买每天&3天&每周刷新商品/main.js @@ -762,7 +762,7 @@ async function qucikBuy() { // 点击确认按钮 click(confirmBtnX, confirmBtnY); // 等待购买完成 - await sleep(200); + await sleep(1200); // 点击空白关闭 click(buyBtnX, buyBtnY); await sleep(200); @@ -776,7 +776,7 @@ async function qucikBuy() { // 跳过对话 async function spikChat(npcName) { - let count = 5; // 添加let声明 + let count = 6; // 添加let声明 await sleep(1000); if (npcName == "布纳马") { // 设置脚本环境的游戏分辨率和DPI缩放 @@ -1165,5 +1165,3 @@ async function initRo() { } })(); - -