1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-15 20:27:22 +08:00

Fix:[TW]support server_support_status_fleet in campaign\gems_farming (#3285)

* Fix:[TW]support server_support_status_fleet in campaign\gems_farming

* Fix:[TW]ship scan asset

* Fix:[TW]remove server_support in retirement and gems_farming

---------

Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
This commit is contained in:
RilyLC
2023-11-15 18:28:47 +08:00
committed by GitHub
parent 39ba51343b
commit d84010bfb1
11 changed files with 8 additions and 28 deletions

View File

@@ -280,14 +280,6 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
logger.info('Not in GemsFarming, skip')
return 0
def server_support_flagship_retire() -> bool:
return self.config.SERVER in ['cn', 'en', 'jp']
if not server_support_flagship_retire():
logger.info(f'Server {self.config.SERVER} does not yet support flagships retirement, skip')
logger.info('Please contact the developer to improve as soon as possible')
return 0
self.dock_filter_set(index='cv', rarity='common', extra='not_level_max', sort='level')
self.dock_favourite_set(False)