mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-04-24 08:25:16 +00:00
修复自动拾取可能无限对话
优化升级速度
This commit is contained in:
parent
e3f731dbd6
commit
57329173fc
@ -104,8 +104,8 @@ config = {
|
||||
'window_size': {
|
||||
'width': 800,
|
||||
'height': 600,
|
||||
'min_width': 600,
|
||||
'min_height': 450,
|
||||
'min_width': 800,
|
||||
'min_height': 600,
|
||||
},
|
||||
'supported_resolution': {
|
||||
'ratio': '16:9',
|
||||
|
@ -56,7 +56,7 @@ numpy==2.2.4
|
||||
# shapely
|
||||
rapidocr==2.0.6
|
||||
# via -r .\requirements.in
|
||||
ok-script==0.0.515
|
||||
ok-script==0.0.517
|
||||
# via -r .\requirements.in
|
||||
omegaconf==2.3.0
|
||||
# via ok-rapidocr-dml
|
||||
|
@ -24,7 +24,7 @@ class AutoPickTask(TriggerTask, BaseWWTask, FindFeature):
|
||||
|
||||
def send_fs(self):
|
||||
if self.debug:
|
||||
self.screenshot('pick_up')
|
||||
self.screenshot('pick_up', show_box=True)
|
||||
self.send_key('f')
|
||||
self.sleep(0.2)
|
||||
self.send_key('f')
|
||||
@ -50,7 +50,7 @@ class AutoPickTask(TriggerTask, BaseWWTask, FindFeature):
|
||||
height_offset=0,
|
||||
y_offset=0)
|
||||
dialog_3_dots = self.find_feature('dialog_3_dots', box=dialog_search,
|
||||
threshold=0.8)
|
||||
threshold=0.6)
|
||||
|
||||
if dialog_3_dots:
|
||||
if self.config.get('Pick Up White List'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user