From 16e191fd050421e15ec393406a0c80b913a0ffe7 Mon Sep 17 00:00:00 2001 From: this-Fish Date: Wed, 13 Aug 2025 08:52:59 +0800 Subject: [PATCH] =?UTF-8?q?JS=20:=20Auto=20Theft=20NPC=20&=20=E5=8E=9F?= =?UTF-8?q?=E9=A3=9F=20=E4=BF=AE=E6=94=B9=E7=B4=8D=E5=A1=94=E5=95=86?= =?UTF-8?q?=E4=BA=BA=E4=BA=A4=E4=BA=92=E6=96=B9=E5=BC=8F=20(#1574)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/Auto Theft NPC & 原食/main.js | 14 +++++++++----- repo/js/Auto Theft NPC & 原食/manifest.json | 4 ++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/repo/js/Auto Theft NPC & 原食/main.js b/repo/js/Auto Theft NPC & 原食/main.js index 8398a11b..9b622cb8 100644 --- a/repo/js/Auto Theft NPC & 原食/main.js +++ b/repo/js/Auto Theft NPC & 原食/main.js @@ -413,12 +413,16 @@ async function spikChat(npcName) { await sleep(1000); if(npcName== "布纳马"){ // 對話 - await sleep(500); - keyDown("VK_MENU");// Alt await sleep(1000); - await click(1255, 530); - await sleep(1000); - keyUp("VK_MENU");// Alt + // keyDown("VK_MENU");// Alt + // await sleep(1500); + // await click(1255, 530); + // await click(1255, 530); + // await click(1255, 530); + // await sleep(1500); + // keyUp("VK_MENU");// Alt + keyPress("VK_F"); + await sleep(1500); // 跳過交互&進入買食畫面 await click(1345, 580); await sleep(1000); diff --git a/repo/js/Auto Theft NPC & 原食/manifest.json b/repo/js/Auto Theft NPC & 原食/manifest.json index a088bf88..40ff7333 100644 --- a/repo/js/Auto Theft NPC & 原食/manifest.json +++ b/repo/js/Auto Theft NPC & 原食/manifest.json @@ -7,6 +7,10 @@ { "name": "听雨♪", "links": "https://github.com/TingYu-lulumi" + }, + { + "name": "蜜柑魚", + "links": "https://github.com/this-Fish" } ], "tags": [