mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-09 10:17:38 +08:00
Fix: Sos loops if reached oil limit
- Fix: gacha_bottom_navbar_ensure when left is None
This commit is contained in:
parent
8ccb9a67b2
commit
af10c5df68
@ -194,7 +194,7 @@ class GachaUI(UI):
|
||||
logger.info('Construct event not available, default to light')
|
||||
left = 1
|
||||
right = None
|
||||
if left >= 4:
|
||||
if left == 4:
|
||||
left = 3
|
||||
|
||||
if gacha_bottom_navbar.set(self, left=left, right=right) \
|
||||
|
@ -187,7 +187,10 @@ class CampaignSos(CampaignRun, CampaignBase):
|
||||
name = f'campaign_{self.config.Sos_Chapter}_5'
|
||||
self.config.override(Campaign_Name=name)
|
||||
super().run(name, folder=folder, mode=mode, total=total)
|
||||
continue
|
||||
if self.run_count > 0:
|
||||
continue
|
||||
else:
|
||||
self.config.task_stop()
|
||||
else:
|
||||
self.ui_click(SIGNAL_SEARCH_CLOSE, appear_button=SIGNAL_LIST_CHECK, check_button=CAMPAIGN_CHECK,
|
||||
skip_first_screenshot=True)
|
||||
|
Loading…
Reference in New Issue
Block a user