feat: 使用带过期检测的打开背包 (#3181)

This commit is contained in:
躁动的氨气
2026-05-03 22:36:06 +08:00
committed by GitHub
parent 5798bc6b14
commit c21fd63ec4
2 changed files with 6 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
import {openBag} from "../../../packages/utils/tool";
const folderA = 'assets/狗粮A线@Yang-z/';
const folderB = 'assets/狗粮B线@Yang-z/';
const folderE = 'assets/狗粮额外@Yang-z/';
@@ -241,8 +243,8 @@ async function executeSalvageWithOCR(pathGroup, isPreRun = false) {
let cachedFrame = null;
try {
await genshin.returnMainUi();
keyPress("B"); await sleep(1000);
await openBag();
await sleep(1000);
const coords = [
[670, 40], // 打开背包
[660, 1010], // 打开分解

View File

@@ -1,8 +1,8 @@
{
"manifest_version": 1,
"name": "狗粮ABE路线自动拾取分解",
"version": "2.5.5",
"bgi_version": "0.45.1",
"version": "2.5.6",
"bgi_version": "0.57.0",
"description": "圣遗物狗粮AB及额外路线自动轮换自动分解就近恢复。",
"saved_files": [
"狗粮分解日志.txt",