mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 09:57:22 +08:00
Fix: [EN] Private Quarters observable lag in appearance of roses in shop
Upd: get_ship toggle for ui_goto, bridge from ui_additional; private quarters page overlaps with the asset
This commit is contained in:
@@ -221,10 +221,11 @@ class UI(InfoHandler):
|
||||
logger.critical("Please switch to a supported page before starting Alas")
|
||||
raise GamePageUnknownError
|
||||
|
||||
def ui_goto(self, destination, offset=(30, 30), skip_first_screenshot=True):
|
||||
def ui_goto(self, destination, get_ship=True, offset=(30, 30), skip_first_screenshot=True):
|
||||
"""
|
||||
Args:
|
||||
destination (Page):
|
||||
get_ship:
|
||||
offset:
|
||||
skip_first_screenshot:
|
||||
"""
|
||||
@@ -261,7 +262,7 @@ class UI(InfoHandler):
|
||||
continue
|
||||
|
||||
# Additional
|
||||
if self.ui_additional():
|
||||
if self.ui_additional(get_ship=get_ship):
|
||||
continue
|
||||
|
||||
# Reset connection
|
||||
@@ -455,6 +456,9 @@ class UI(InfoHandler):
|
||||
def ui_additional(self, get_ship=True):
|
||||
"""
|
||||
Handle all annoying popups during UI switching.
|
||||
|
||||
Args:
|
||||
get_ship:
|
||||
"""
|
||||
# Popups appear at page_os
|
||||
# Has a popup_confirm variant
|
||||
|
||||
Reference in New Issue
Block a user