From 5a1df9656177f1ff192fb7802fb5052d2e6a2d4d Mon Sep 17 00:00:00 2001 From: Patrick-Ze <19711799+Patrick-Ze@users.noreply.github.com> Date: Thu, 27 Nov 2025 09:22:33 +0800 Subject: [PATCH] =?UTF-8?q?js:=20TCGQuickProficiency:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?`dispose`=E6=97=B6=E6=9C=BA=20(#2403)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/TCGQuickProficiency/main.js | 4 ++-- repo/js/TCGQuickProficiency/manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/repo/js/TCGQuickProficiency/main.js b/repo/js/TCGQuickProficiency/main.js index 4c2c0a023..54f5aed5e 100644 --- a/repo/js/TCGQuickProficiency/main.js +++ b/repo/js/TCGQuickProficiency/main.js @@ -238,9 +238,9 @@ async function teleportToTheCatsTail() { let clickIcon = null; for (let i = 0; i < 5; i++) { const region = captureGameRegion(); - const tarvern = region.find(tavernRo); + const tavern = region.find(tavernRo); + clickIcon = tavern.isExist() ? tavern : region.find(adventurersRo); region.dispose(); - clickIcon = tarvern.isExist() ? tarvern : region.find(adventurersRo); if (clickIcon.isExist()) { clickIcon.click(); await sleep(500); diff --git a/repo/js/TCGQuickProficiency/manifest.json b/repo/js/TCGQuickProficiency/manifest.json index c9fa3341a..02cbba594 100644 --- a/repo/js/TCGQuickProficiency/manifest.json +++ b/repo/js/TCGQuickProficiency/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "七圣召唤卡牌熟练度速刷", - "version": "1.2", + "version": "1.3", "bgi_version": "0.45.0", "description": "七圣召唤卡牌熟练度速刷", "authors": [