1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 13:57:26 +08:00

Opt: Transfer of detection status for hard campaign

Ensure if already True, does not get overwritten
If SP/AB enabled, their run will do handle_guild and
reset the global configuration when executed
If disabled, reward_when_finished will do so instead
This commit is contained in:
nEEtdo0d
2021-01-27 15:16:31 -05:00
parent cc5972365d
commit 47ab56713f
2 changed files with 15 additions and 5 deletions

View File

@@ -39,6 +39,9 @@ class CampaignHard(CampaignRun):
logger.attr('Remain', remain)
for n in range(remain):
self.campaign.run()
if self.campaign.config.GUILD_POPUP_TRIGGERED:
self.config.GUILD_POPUP_TRIGGERED = True
self.campaign.config.GUILD_POPUP_TRIGGERED = False
for backup in backups:
backup.recover()