mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-05 08:25:28 +00:00
修复自动拾取
This commit is contained in:
parent
95423538c0
commit
54c9a11b9a
@ -28,9 +28,9 @@ class AutoPickTask(TriggerTask, FindFeature):
|
||||
y_offset=-f_search_box.height / 2,
|
||||
name='search_dialog')
|
||||
if f := self.find_one('pick_up_f', box=f_search_box,
|
||||
threshold=0.8, use_gray_scale=True):
|
||||
threshold=0.8):
|
||||
dialog_search = f.copy(x_offset=f.width * 2, width_offset=f.width * 2, height_offset=f.height * 2,
|
||||
y_offset=-f.height,
|
||||
name='search_dialog')
|
||||
return self.find_one('dialog_3_dots', box=dialog_search,
|
||||
threshold=0.8, use_gray_scale=True) is None
|
||||
threshold=0.8) is None
|
||||
|
Loading…
x
Reference in New Issue
Block a user