mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Add: The Flame-Touched Dagger (event_20211111_cn)
- Fix: Force to use fleet2 when MAP_CLEAR_ALL_THIS_TIME is True
This commit is contained in:
@@ -68,11 +68,7 @@ class CampaignBase(CampaignUI, Map, AutoSearchCombat):
|
||||
|
||||
return self.battle_default()
|
||||
else:
|
||||
backup = self.config.FLEET_BOSS
|
||||
if self.config.FLEET_2 != 0:
|
||||
self.config.FLEET_BOSS = 2
|
||||
result = self.battle_boss()
|
||||
self.config.FLEET_BOSS = backup
|
||||
return result
|
||||
|
||||
@Config.when(MAP_CLEAR_ALL_THIS_TIME=False, POOR_MAP_DATA=False)
|
||||
|
||||
@@ -56,9 +56,9 @@ class CampaignRun(UI):
|
||||
files = [f[:-3] for f in os.listdir(folder) if f[-3:] == '.py']
|
||||
logger.warning(f'Existing files: {files}')
|
||||
|
||||
logger.critical('Please update Alas')
|
||||
logger.critical('If file is still missing after update, '
|
||||
'contact developers, or make map files yourself using dev_tools/map_extractor.py')
|
||||
logger.critical(f'Possible reason: This event ({folder}) does not have {name}')
|
||||
logger.critical(f'Possible reason: You are using an old Alas, '
|
||||
'please check for update, or make map files yourself using dev_tools/map_extractor.py')
|
||||
raise RequestHumanTakeover
|
||||
|
||||
config = copy.copy(self.config).merge(self.module.Config())
|
||||
|
||||
Reference in New Issue
Block a user