1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 07:13:34 +08:00

Add: Event daily SP

This commit is contained in:
LmeSzinc
2020-07-28 19:45:38 +08:00
parent bb57488fca
commit 7ee8b497a0
9 changed files with 71 additions and 12 deletions

View File

@@ -35,7 +35,6 @@ class CampaignAB(CampaignRun):
count = 0
existing = [file[:-3] for file in os.listdir(f'./campaign/{self.config.EVENT_NAME_AB}') if file[-3:] == '.py']
chapter = self.config.EVENT_AB_CHAPTER.split('_')[1]
self.reward_backup_daily_reward_settings()
name = ''.join(existing).lower()
if 'sp1' in name or 'sp2' in name or 'sp3' in name:
@@ -43,6 +42,8 @@ class CampaignAB(CampaignRun):
logger.warning(f'Existing map files: {existing}')
return False
self.reward_backup_daily_reward_settings()
for name in CAMPAIGN_NAME:
if name not in existing:
continue