1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 15:36:59 +08:00

Fix: Compatible with FLEET_2, SUBMARINE set

- Add Story handler to ui_additional
This commit is contained in:
LmeSzinc
2021-10-16 11:46:32 +08:00
parent 616b66564e
commit 1481a9b582
2 changed files with 16 additions and 0 deletions

View File

@@ -345,6 +345,18 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig):
def FLEET_2(self):
return self.Fleet_Fleet2
@FLEET_2.setter
def FLEET_2(self, value):
self.override(Fleet_Fleet2=value)
@property
def SUBMARINE(self):
return self.Submarine_Fleet
@SUBMARINE.setter
def SUBMARINE(self, value):
self.override(Fleet_Fleet2=value)
_fleet_boss = 0
@property

View File

@@ -293,6 +293,10 @@ class UI(InfoHandler):
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
return True
# Story
if self.handle_story_skip():
return True
# Game tips
# Event commission in Vacation Lane.
if self.appear(GAME_TIPS, offset=(30, 30), interval=3):