1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 02:48:23 +08:00

Fix: Cannot enter buy interface if ship development is in progress

Add: SHIPYARD_RESEARCH_IN_PROGRESS for new clause

TODO: [CN, TW, JP] icon should be same across servers but if not will need to update
This commit is contained in:
nEEtdo0d
2022-07-05 23:31:44 -04:00
parent fcef4c32b9
commit 074489f52f
6 changed files with 3 additions and 1 deletions

View File

@@ -339,7 +339,8 @@ class ShipyardUI(UI):
Returns:
bool whether entered
"""
if self.appear(SHIPYARD_RESEARCH_INCOMPLETE, offset=(20, 20)):
if self.appear(SHIPYARD_RESEARCH_INCOMPLETE, offset=(20, 20)) or \
self.appear(SHIPYARD_RESEARCH_IN_PROGRESS, offset=(20, 20)):
logger.warning('Cannot enter buy interface, focused '
'ship has not yet been fully researched')
return False