mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Upd: non_stop_clear_all for event 20221124 and 20250724
This commit is contained in:
parent
946bb8e731
commit
ae662371ea
@ -77,6 +77,8 @@ class CampaignBase(CampaignBase_):
|
||||
appear = AUTO_SEARCH.appear(main=self)
|
||||
self.map_is_100_percent_clear = self.map_is_3_stars = self.map_is_threat_safe = appear
|
||||
self.map_has_clear_mode = appear
|
||||
if self.config.StopCondition_MapAchievement == 'non_stop_clear_all':
|
||||
self.config.MAP_CLEAR_ALL_THIS_TIME = True
|
||||
self.map_show_info()
|
||||
|
||||
def handle_mystery_items(self, button=None, drop=None):
|
||||
|
||||
@ -68,4 +68,6 @@ class CampaignBaseTS(CampaignBaseT):
|
||||
appear = AUTO_SEARCH.appear(main=self)
|
||||
self.map_is_100_percent_clear = self.map_is_3_stars = self.map_is_threat_safe = appear
|
||||
self.map_has_clear_mode = appear
|
||||
if self.config.StopCondition_MapAchievement == 'non_stop_clear_all':
|
||||
self.config.MAP_CLEAR_ALL_THIS_TIME = True
|
||||
self.map_show_info()
|
||||
|
||||
@ -267,12 +267,12 @@ class CampaignRun(CampaignEvent, ShopStatus):
|
||||
name = name.replace('ht', 'th')
|
||||
# Chapter TH has no map_percentage and no 3_stars
|
||||
if folder == 'event_20221124_cn' and name.startswith('th'):
|
||||
if self.config.StopCondition_MapAchievement != 'non_stop':
|
||||
if self.config.StopCondition_MapAchievement not in ['non_stop', 'non_stop_clear_all']:
|
||||
logger.info(f'When running chapter TH of event_20221124_cn, '
|
||||
f'StopCondition.MapAchievement is forced set to threat_safe')
|
||||
self.config.override(StopCondition_MapAchievement='threat_safe')
|
||||
if folder == 'event_20250724_cn' and name.startswith('ts'):
|
||||
if self.config.StopCondition_MapAchievement != 'non_stop':
|
||||
if self.config.StopCondition_MapAchievement not in ['non_stop', 'non_stop_clear_all']:
|
||||
logger.info(f'When running chapter TS of event_20250724_cn, '
|
||||
f'StopCondition.MapAchievement is forced set to threat_safe')
|
||||
self.config.override(StopCondition_MapAchievement='threat_safe')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user