@@ -3,6 +3,7 @@ const DeleteButtonRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("As
|
||||
const AutoAddButtonRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("Assets/RecognitionObject/AutoAddButton.png"));
|
||||
const ConfirmButtonRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("Assets/RecognitionObject/ConfirmButton.png"));
|
||||
const DestoryButtonRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("Assets/RecognitionObject/DestoryButton.png"));
|
||||
const MidDestoryButtonRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("Assets/RecognitionObject/DestoryButton.png"), 900, 600, 500, 300);
|
||||
|
||||
/**
|
||||
* @returns {Promise<void>}
|
||||
@@ -56,7 +57,7 @@ const DestoryButtonRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("A
|
||||
await sleep(600);
|
||||
captureGameRegion().find(DestoryButtonRo).click();// 点击摧毁
|
||||
await sleep(600);
|
||||
captureGameRegion().find(DestoryButtonRo).click();// 弹出页面点击摧毁
|
||||
captureGameRegion().find(MidDestoryButtonRo).click();// 弹出页面点击摧毁
|
||||
await sleep(600);
|
||||
click(960, 1000);// 点击空白处
|
||||
await sleep(1000);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "摧毁圣遗物换摩拉",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"bgi_version": "0.44.6",
|
||||
"description": "图像识别改造版",
|
||||
"authors": [
|
||||
|
||||
Reference in New Issue
Block a user