1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: evaluates to true even with no fog present on screen; no offset more stable

This commit is contained in:
nEEtdo0d
2023-01-12 22:57:42 -05:00
parent 87179d6c09
commit 06cc4ab29c
2 changed files with 3 additions and 3 deletions

View File

@@ -299,7 +299,7 @@ class GlobeOperation(ActionPointHandler):
if self.appear_then_click(MAP_GOTO_GLOBE, offset=(200, 5), interval=5):
# Just to initialize interval timer of MAP_GOTO_GLOBE_FOG
self.appear(MAP_GOTO_GLOBE_FOG, offset=(5, 5), interval=5)
self.appear(MAP_GOTO_GLOBE_FOG, interval=5)
self.interval_reset(MAP_GOTO_GLOBE_FOG)
click_count += 1
if click_count >= 5:
@@ -308,7 +308,7 @@ class GlobeOperation(ActionPointHandler):
'there might be uncollected zone exploration rewards preventing exit')
raise RewardUncollectedError
continue
if self.appear_then_click(MAP_GOTO_GLOBE_FOG, offset=(5, 5), interval=5):
if self.appear_then_click(MAP_GOTO_GLOBE_FOG, interval=5):
# Encountered only in strongholds; AL will not prevent
# zone exit even with left over exploration rewards in map
self.interval_reset(MAP_GOTO_GLOBE)