mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Refactor: 统一了模板的写法
- 修复了没有阵容锁定选项时会卡住的问题 - 修复了非周回时频繁报Arrive with unexpected result的问题 - 清理了一些无用的asset
This commit is contained in:
@@ -133,6 +133,9 @@ class MapOperation(UrgentCommissionHandler, EnemySearchingHandler, FleetPreparat
|
||||
return False
|
||||
elif self.appear_then_click(FLEET_UNLOCKED, interval=1):
|
||||
continue
|
||||
else:
|
||||
logger.info('No fleet lock option.')
|
||||
return False
|
||||
|
||||
else:
|
||||
if self.appear(FLEET_UNLOCKED):
|
||||
@@ -140,6 +143,9 @@ class MapOperation(UrgentCommissionHandler, EnemySearchingHandler, FleetPreparat
|
||||
return False
|
||||
elif self.appear_then_click(FLEET_LOCKED, interval=1):
|
||||
continue
|
||||
else:
|
||||
logger.info('No fleet lock option.')
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user