JS : Auto Theft NPC & 原食 修改納塔商人交互方式 (#1574)

This commit is contained in:
this-Fish
2025-08-13 08:52:59 +08:00
committed by GitHub
parent 71823d7b84
commit 16e191fd05
2 changed files with 13 additions and 5 deletions

View File

@@ -413,12 +413,16 @@ async function spikChat(npcName) {
await sleep(1000); await sleep(1000);
if(npcName== "布纳马"){ if(npcName== "布纳马"){
// 對話 // 對話
await sleep(500);
keyDown("VK_MENU");// Alt
await sleep(1000); await sleep(1000);
await click(1255, 530); // keyDown("VK_MENU");// Alt
await sleep(1000); // await sleep(1500);
keyUp("VK_MENU");// Alt // 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 click(1345, 580);
await sleep(1000); await sleep(1000);

View File

@@ -7,6 +7,10 @@
{ {
"name": "听雨♪", "name": "听雨♪",
"links": "https://github.com/TingYu-lulumi" "links": "https://github.com/TingYu-lulumi"
},
{
"name": "蜜柑魚",
"links": "https://github.com/this-Fish"
} }
], ],
"tags": [ "tags": [