1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 07:28:21 +08:00

Add: Do random map events in OpSi

- Opt: Select the second story option from the bottom in OpSi
- Fix: ui_mask_homo_stroke in OpSi
- Dev: Fix relative_crop.py
This commit is contained in:
LmeSzinc
2022-05-14 23:56:42 +08:00
parent acec98e435
commit 9f2df3c2c5
22 changed files with 318 additions and 50 deletions

View File

@@ -257,7 +257,11 @@ class InfoHandler(ModuleBase):
if self._story_option_timer.reached() and self.appear(STORY_SKIP, offset=(20, 20), interval=0):
options = self._story_option_buttons()
if len(options):
self.device.click(options[0])
try:
select = options[self.config.STORY_OPTION]
except IndexError:
select = options[0]
self.device.click(select)
self._story_option_timer.reset()
self.story_popup_timout.reset()
self.interval_reset(STORY_SKIP)