1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Merge branch 'master' into opsi_month_boss

This commit is contained in:
YJGeng-Iriy
2022-12-21 00:09:20 +08:00
committed by GitHub
42 changed files with 296 additions and 204 deletions

View File

@@ -62,21 +62,8 @@ class OSCampaignRun(OSMapOperation):
self.config.task_delay(minute=150, server_update=True)
def opsi_hazard1_leveling(self):
self.config.override(
OpsiGeneral_AkashiShopFilter='ActionPoint'
)
self.config.cross_set(keys='OpsiMeowfficerFarming.Scheduler.Enable', value=True)
if self.config.cross_get(
keys='OpsiMeowfficerFarming.OpsiMeowfficerFarming.ActionPointPreserve',
default=0
) < 1000:
self.config.cross_set(
keys='OpsiMeowfficerFarming.OpsiMeowfficerFarming.ActionPointPreserve',
value=1000
)
self.load_campaign()
try:
self.load_campaign()
self.campaign.os_hazard1_leveling()
except ActionPointLimit:
self.config.task_delay(server_update=True)