Skip to content

Commit 7ed2788

Browse files
authored
修复自动购买食材脚本中的问题 (#2836)
* 修复自动购买食材脚本中的两个问题 * Update main.js * remove extra line breaks
1 parent 3ef1c1f commit 7ed2788

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • repo/js/自动购买每天&3天&每周刷新商品

repo/js/自动购买每天&3天&每周刷新商品/main.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ async function qucikBuy() {
762762
// 点击确认按钮
763763
click(confirmBtnX, confirmBtnY);
764764
// 等待购买完成
765-
await sleep(200);
765+
await sleep(1200);
766766
// 点击空白关闭
767767
click(buyBtnX, buyBtnY);
768768
await sleep(200);
@@ -776,7 +776,7 @@ async function qucikBuy() {
776776

777777
// 跳过对话
778778
async function spikChat(npcName) {
779-
let count = 5; // 添加let声明
779+
let count = 6; // 添加let声明
780780
await sleep(1000);
781781
if (npcName == "布纳马") {
782782
// 设置脚本环境的游戏分辨率和DPI缩放
@@ -1165,5 +1165,3 @@ async function initRo() {
11651165
}
11661166

11671167
})();
1168-
1169-

0 commit comments

Comments
 (0)