From 1abd8890fb2703c43f935ac00556379fc0738b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=B1=E5=91=B1z?= <131586533+jidingcai@users.noreply.github.com> Date: Tue, 20 May 2025 23:44:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=81=E5=8C=A0=E9=93=BA1.5=20(#892)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复锻造只有2次的问题 * Update readme(25.05.20).md * Update manifest.json --- repo/js/铁匠铺/main.js | 5 ++++- repo/js/铁匠铺/manifest.json | 4 ++-- repo/js/铁匠铺/readme(25.05.20).md | 5 ++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/repo/js/铁匠铺/main.js b/repo/js/铁匠铺/main.js index 67705b71..9510ccd9 100644 --- a/repo/js/铁匠铺/main.js +++ b/repo/js/铁匠铺/main.js @@ -165,7 +165,10 @@ foundIngredient = true; // 点击“开始锻造”3次 - { await sleep(1000); click(1645, 1015); await sleep(1000); click(1645, 1015); await sleep(1000); } + { + await sleep(1000); click(1645, 1015); + await sleep(1000); click(1645, 1015); + await sleep(1000); click(1645, 1015);} break; // 找到矿石后退出循环 } } diff --git a/repo/js/铁匠铺/manifest.json b/repo/js/铁匠铺/manifest.json index 3be0385c..a0861710 100644 --- a/repo/js/铁匠铺/manifest.json +++ b/repo/js/铁匠铺/manifest.json @@ -1,9 +1,9 @@ { "manifest_version": 1, "name": "自动锻造魔矿", - "version": "1.4(2025.05.20版)", + "version": "1.5(2025.05.20版)", "bgi_version": "0.44.0", - "description": "自动选择铁匠铺和使用矿物去锻造精锻矿。\n \n使用前请阅读“readme”文件。 \n---更新说明--- \n- 新增通知功能", + "description": "自动选择铁匠铺和使用矿物去锻造精锻矿。\n \n使用前请阅读“readme”文件。 \n\n---更新说明--- \n- 修复锻造次数不足3次的问题", "tags": ["铁匠铺", "锻造", "精锻用矿"], "authors": [ { diff --git a/repo/js/铁匠铺/readme(25.05.20).md b/repo/js/铁匠铺/readme(25.05.20).md index 8d5a5f43..9e735132 100644 --- a/repo/js/铁匠铺/readme(25.05.20).md +++ b/repo/js/铁匠铺/readme(25.05.20).md @@ -1,6 +1,6 @@ // ==UserScript== // @name 自动锻造魔矿脚本 -// @version 1.4 +// @version 1.5 // @description 自动前往铁匠铺并锻造魔矿,通过识图模式自动选择矿石 // @author 呱呱z // @match 原神版本:5.6;BGI 版本:0.45.1 @@ -50,6 +50,9 @@ ## 更新日志 +### 1.5(2025.05.20) +- 修复锻造次数不足3次的问题 + ### 1.4(2025.05.20) - 新增通知功能