diff --git a/repo/js/PurchaseArtifacts/assets/挪德卡莱购买狗粮.json b/repo/js/PurchaseArtifacts/assets/挪德卡莱购买狗粮.json index e5bbdb42c..c5cb9d61a 100644 --- a/repo/js/PurchaseArtifacts/assets/挪德卡莱购买狗粮.json +++ b/repo/js/PurchaseArtifacts/assets/挪德卡莱购买狗粮.json @@ -1,77 +1,44 @@ -{ +{ "info": { - "name": "挪德卡莱购买狗粮", - "bgi_version": "0.51.0", + "name": "未命名路径", "type": "collect", - "order": 0, - "tags": [], - "enable_monster_loot_split": false, - "map_name": "Teyvat", - "map_match_method": "SIFT", - "items": [] - }, - "config": { - "realtime_triggers": { - "AutoPick": true - } - }, - "farming_info": { - "allow_farming_count": false, - "normal_mob_count": 0, - "elite_mob_count": 0, - "primary_target": "", - "duration_seconds": 0, - "elite_details": "", - "total_mora": 0 + "author": "勺子", + "version": "1.0", + "description": "挪德卡莱购买狗粮", + "bgi_version": "0.50" }, "positions": [ { + "id": 1, "x": 9367.1484375, - "y": 1435.646484375, + "y": 1435.6484375, "type": "teleport", - "move_mode": "walk" + "move_mode": "run", + "action": "" }, { - "x": 9367.1484375, - "y": 1435.646484375, + "id": 2, + "x": 9396.775390625, + "y": 1486.4755859375, "type": "path", - "move_mode": "walk" + "move_mode": "run", + "action": "" }, { - "x": 9399.712890625, - "y": 1491.52734375, + "id": 3, + "x": 9381.6875, + "y": 1561.802734375, "type": "path", - "move_mode": "walk" + "move_mode": "run", + "action": "" }, { - "x": 9390.7109375, - "y": 1494.9541015625, - "type": "path", - "move_mode": "walk" - }, - { - "x": 9392.4462890625, - "y": 1515.666015625, - "type": "path", - "move_mode": "walk" - }, - { - "x": 9387.9326171875, - "y": 1516, - "type": "path", - "move_mode": "walk" - }, - { - "x": 9381.9091796875, - "y": 1564.7470703125, - "type": "path", - "move_mode": "walk" - }, - { - "x": 9389.68359375, - "y": 1565.8310546875, - "type": "path", - "move_mode": "walk" + "id": 4, + "x": 9389.0546, + "y": 1566.3916, + "type": "target", + "move_mode": "walk", + "action": "" } ] } \ No newline at end of file diff --git a/repo/js/PurchaseArtifacts/assets/枫丹购买狗粮.json b/repo/js/PurchaseArtifacts/assets/枫丹购买狗粮.json index f9bbd54aa..957fe750b 100644 --- a/repo/js/PurchaseArtifacts/assets/枫丹购买狗粮.json +++ b/repo/js/PurchaseArtifacts/assets/枫丹购买狗粮.json @@ -10,12 +10,51 @@ "positions": [ { "id": 1, - "x": 4516.61794921875, - "y": 3456.2869921875, + "x": 4509.2685546875, + "y": 3460.351806640625, "type": "teleport", "move_mode": "walk", - "action": "", - "action_params": "" + "action": "" + }, + { + "id": 2, + "x": 4510.45019, + "y": 3461.4650, + "type": "target", + "move_mode": "walk", + "action": "" + }, + { + "id": 3, + "x": 4524.146484375, + "y": 3475.12744140625, + "type": "path", + "move_mode": "fly", + "action": "stop_flying" + }, + { + "id": 4, + "x": 4520.9707, + "y": 3481.4746, + "type": "target", + "move_mode": "walk", + "action": "" + }, + { + "id": 5, + "x": 4517.4394, + "y": 3484.6450, + "type": "target", + "move_mode": "walk", + "action": "" + }, + { + "id": 6, + "x": 4519.1445, + "y": 3486.5954, + "type": "target", + "move_mode": "walk", + "action": "" } ] } \ No newline at end of file diff --git a/repo/js/PurchaseArtifacts/assets/璃月购买狗粮1.json b/repo/js/PurchaseArtifacts/assets/璃月购买狗粮1.json index e9e89a7c3..6ee2b5f52 100644 --- a/repo/js/PurchaseArtifacts/assets/璃月购买狗粮1.json +++ b/repo/js/PurchaseArtifacts/assets/璃月购买狗粮1.json @@ -18,7 +18,16 @@ "action_params": "" }, { + "action": "set_time", + "action_params": "19:00", "id": 2, + "move_mode": "walk", + "type": "path", + "x": 366.74609375, + "y": -502.52587890625 + }, + { + "id": 3, "x": 360.026171875, "y": -491.16474609375, "type": "path", @@ -27,13 +36,13 @@ "action_params": "" }, { - "id": 3, + "id": 4, "x": 340.1712890625, "y": -471.7400390625, "type": "target", "move_mode": "walk", "action": "", "action_params": "" - } + }, ] } \ No newline at end of file diff --git a/repo/js/PurchaseArtifacts/main.js b/repo/js/PurchaseArtifacts/main.js index ef04ce60b..451cc307c 100644 --- a/repo/js/PurchaseArtifacts/main.js +++ b/repo/js/PurchaseArtifacts/main.js @@ -25,20 +25,6 @@ let holdingState = settings.holdingState ?? 0; await Purchase('蒙德购买狗粮'); await Shopping(); -//调整时间 - await sleep(1500); - keyPress("ESCAPE"); await sleep(1500); - click(45, 715); await sleep(1500); - moveMouseTo(1440,510 ); - leftButtonDown(); await sleep(1500); - moveMouseTo(1290,590 );await sleep(1000); - moveMouseTo(1440,330 );await sleep(1000); - moveMouseTo(1580,590 );await sleep(1000); - leftButtonUp();await sleep(500); - click(1440, 1025); await sleep(16000); - keyPress("ESCAPE"); await sleep(1000); - keyPress("ESCAPE"); await sleep(1000); - await Purchase('璃月购买狗粮1'); await Shopping(); @@ -78,21 +64,6 @@ let holdingState = settings.holdingState ?? 0; await Shopping(); await Purchase('枫丹购买狗粮'); - await sleep(1000); - keyDown("d"); - await sleep(2000); - keyUp("d"); - keyDown("a"); - await sleep(300); - keyUp("a"); - keyDown("w"); - await sleep(6000); - keyUp("w"); - keyDown("s"); - await sleep(2000); - keyPress("SPACE"); - await sleep(600); - keyUp("s"); await Shopping(); await Purchase('纳塔购买狗粮'); diff --git a/repo/js/PurchaseArtifacts/manifest.json b/repo/js/PurchaseArtifacts/manifest.json index 3865a4093..d826e211f 100644 --- a/repo/js/PurchaseArtifacts/manifest.json +++ b/repo/js/PurchaseArtifacts/manifest.json @@ -1,8 +1,8 @@ { "manifest_version": 1, "name": "自动购买狗粮(8点位)", - "version": "1.1.2", - "bgi_version": "0.5.1", + "version": "1.1.3", + "bgi_version": "0.50", "description": "狗粮周3刷新,价值23体力的摩拉换38体力的狗粮,血赚。龙骨花凝珠没出售,需额外设置。强烈建议使用固定队伍(双风成女行走)", "authors": [ {