1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-07 05:17:58 +08:00
This commit is contained in:
positnuec
2026-07-03 00:43:03 +08:00
42 changed files with 222 additions and 87 deletions

View File

@@ -140,7 +140,7 @@ class GlobeOperation(ActionPointHandler):
# Lower threshold to 0.75
# Don't know why buy but fonts are different sometimes
return [select for select in ZONE_SELECT if
self.appear(select, offset=self._zone_select_offset, threshold=self._zone_select_similarity)]
self.appear(select, offset=self._zone_select_offset, similarity=self._zone_select_similarity)]
def is_in_zone_select(self):
"""
@@ -190,7 +190,7 @@ class GlobeOperation(ActionPointHandler):
if self.is_zone_pinned():
break
if self.appear_then_click(
button, offset=self._zone_select_offset, threshold=self._zone_select_similarity, interval=5):
button, offset=self._zone_select_offset, similarity=self._zone_select_similarity, interval=5):
continue
def zone_type_select(self, types=('SAFE', 'DANGEROUS')):