mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Fix: Increase threshold of GUILD_DISPATCH_FLEET_UNFILLED and GUILD_DISPATCH_FLEET, they are transparent now (#1031)
This commit is contained in:
@@ -70,8 +70,8 @@ class ModuleBase:
|
||||
|
||||
return appear
|
||||
|
||||
def appear_then_click(self, button, screenshot=False, genre='items', offset=0, interval=0):
|
||||
appear = self.appear(button, offset=offset, interval=interval)
|
||||
def appear_then_click(self, button, screenshot=False, genre='items', offset=0, interval=0, threshold=None):
|
||||
appear = self.appear(button, offset=offset, interval=interval, threshold=threshold)
|
||||
if appear:
|
||||
if screenshot:
|
||||
self.device.sleep(self.config.WAIT_BEFORE_SAVING_SCREEN_SHOT)
|
||||
|
||||
Reference in New Issue
Block a user