mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 02:33:34 +08:00
Fix: Particular pop up is encountered when changing to Operations, not after detection of boss raid as incorrectly assumed
Opt: Increased dispatch count threshold, 3 found to be too little in some cases
This commit is contained in:
@@ -33,6 +33,11 @@ class GuildOperations(GuildBase):
|
|||||||
else:
|
else:
|
||||||
self.device.click(GUILD_OPERATIONS_JOIN)
|
self.device.click(GUILD_OPERATIONS_JOIN)
|
||||||
continue
|
continue
|
||||||
|
if self.handle_popup_single('FLEET_UPDATED'):
|
||||||
|
logger.info('Fleet composition altered, may still be dispatch-able. However '
|
||||||
|
'fellow guild members have updated their support line up.'
|
||||||
|
'Suggestion: Enable Boss Recommend')
|
||||||
|
continue
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.appear(GUILD_BOSS_ENTER) or self.appear(GUILD_OPERATIONS_ACTIVE_CHECK, offset=(20, 20)):
|
if self.appear(GUILD_BOSS_ENTER) or self.appear(GUILD_OPERATIONS_ACTIVE_CHECK, offset=(20, 20)):
|
||||||
@@ -369,16 +374,10 @@ class GuildOperations(GuildBase):
|
|||||||
if self.appear_then_click(GUILD_BOSS_ENTER, interval=3):
|
if self.appear_then_click(GUILD_BOSS_ENTER, interval=3):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if self.handle_popup_single('FLEET_UPDATED'):
|
|
||||||
logger.info('Fleet composition altered, may still be dispatch-able. However'
|
|
||||||
'fellow guild members have updated their support line up.'
|
|
||||||
'Suggestion: Enable Boss Recommend')
|
|
||||||
continue
|
|
||||||
|
|
||||||
if self.appear(GUILD_DISPATCH_FLEET, interval=3):
|
if self.appear(GUILD_DISPATCH_FLEET, interval=3):
|
||||||
# Button does not appear greyed out even
|
# Button does not appear greyed out even
|
||||||
# when empty fleet composition
|
# when empty fleet composition
|
||||||
if dispatch_count < 3:
|
if dispatch_count < 5:
|
||||||
self.device.click(GUILD_DISPATCH_FLEET)
|
self.device.click(GUILD_DISPATCH_FLEET)
|
||||||
dispatch_count += 1
|
dispatch_count += 1
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user