mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 02:29:16 +08:00
Fix: Compatible with FLEET_2, SUBMARINE set
- Add Story handler to ui_additional
This commit is contained in:
@@ -345,6 +345,18 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig):
|
|||||||
def FLEET_2(self):
|
def FLEET_2(self):
|
||||||
return self.Fleet_Fleet2
|
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
|
_fleet_boss = 0
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
@@ -293,6 +293,10 @@ class UI(InfoHandler):
|
|||||||
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
|
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
# Story
|
||||||
|
if self.handle_story_skip():
|
||||||
|
return True
|
||||||
|
|
||||||
# Game tips
|
# Game tips
|
||||||
# Event commission in Vacation Lane.
|
# Event commission in Vacation Lane.
|
||||||
if self.appear(GAME_TIPS, offset=(30, 30), interval=3):
|
if self.appear(GAME_TIPS, offset=(30, 30), interval=3):
|
||||||
|
|||||||
Reference in New Issue
Block a user