We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aa80cf commit 5f8e261Copy full SHA for 5f8e261
1 file changed
agent/custom/action/AutoFish/auto_fish_withoutCV.py
@@ -56,7 +56,9 @@ def run(
56
and cursor.box
57
is not None # 这个是为了消除pylance的warning,实际运行时不应该有None的情况
58
):
59
- # 绿条/光标未命中时检查是否已弹出结算画面
+ time.sleep(0.5)
60
+ image = context.tasker.controller.post_screencap().wait().get()
61
+
62
click_blank = context.run_recognition("SceneClickBlankToExit", image)
63
if click_blank and click_blank.hit:
64
PrintT(context, "autofish.fish_caught")
0 commit comments