mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-21 04:19:51 +08:00
对话结束后,在 委托描述 出现前增加延时 (#2074)
This commit is contained in:
@@ -40,6 +40,6 @@
|
||||
"莎拉"
|
||||
]
|
||||
},
|
||||
"note": "执行对话步骤,优先选择特定选项并与白名单NPC交互"
|
||||
"note": "与莎拉对话"
|
||||
}
|
||||
]
|
||||
@@ -13,10 +13,6 @@
|
||||
},
|
||||
"note": "执行对话步骤,优先选择特定选项并与白名单NPC交互"
|
||||
},
|
||||
{
|
||||
"type": "关闭商店界面",
|
||||
"note": "关闭商店界面(如果现在在商店页面)"
|
||||
},
|
||||
{
|
||||
"type": "地图追踪",
|
||||
"data": "餐品订单-晨曦酒庄-1.json",
|
||||
@@ -34,6 +30,6 @@
|
||||
"恩内斯特"
|
||||
]
|
||||
},
|
||||
"note": "执行对话步骤,优先选择特定选项并与白名单NPC交互"
|
||||
"note": "与恩内斯特对话"
|
||||
}
|
||||
]
|
||||
@@ -195,7 +195,7 @@ var DialogProcessor = {
|
||||
let exitList = await Utils.easyTemplateMatch(
|
||||
Constants.TALK_EXIT_IMAGE_PATH,
|
||||
dialogRegion,
|
||||
(useMask = true)
|
||||
true
|
||||
);
|
||||
let iconList = await Utils.easyTemplateMatch(
|
||||
Constants.TALK_ICON_IMAGE_PATH,
|
||||
@@ -246,7 +246,9 @@ var DialogProcessor = {
|
||||
|
||||
if (isInMainUI()) {
|
||||
log.info("已返回主界面,自动剧情执行完成");
|
||||
await sleep(500) //等主界面加载完毕,防止吞操作
|
||||
keyPress("V");
|
||||
await sleep(2000) //等待委托任务描述加载完毕
|
||||
} else {
|
||||
log.warn(
|
||||
"已达到最大尝试次数 {attempts},但未检测到返回主界面",
|
||||
|
||||
Reference in New Issue
Block a user