1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-15 19:43:28 +08:00
This commit is contained in:
positnuec
2026-08-14 02:04:50 +08:00
441 changed files with 12687 additions and 729 deletions

View File

@@ -67,6 +67,9 @@ class OSCampaignRun(OSMapOperation):
campaign.os_obscure()
except ActionPointLimit:
self.config.opsi_task_delay(ap_limit=True)
if self.config.is_task_enabled('OpsiHazard1Leveling') \
and self.get_yellow_coins() > self.config.OS_CL1_YELLOW_COINS_PRESERVE:
self.config.task_call('OpsiHazard1Leveling')
def opsi_month_boss(self):
if self.config.SERVER in ['tw']:
@@ -87,6 +90,9 @@ class OSCampaignRun(OSMapOperation):
campaign.os_abyssal()
except ActionPointLimit:
self.config.opsi_task_delay(ap_limit=True)
if self.config.is_task_enabled('OpsiHazard1Leveling') \
and self.get_yellow_coins() > self.config.OS_CL1_YELLOW_COINS_PRESERVE:
self.config.task_call('OpsiHazard1Leveling')
def opsi_archive(self):
try:
@@ -101,6 +107,9 @@ class OSCampaignRun(OSMapOperation):
campaign.os_stronghold()
except ActionPointLimit:
self.config.opsi_task_delay(ap_limit=True)
if self.config.is_task_enabled('OpsiHazard1Leveling') \
and self.get_yellow_coins() > self.config.OS_CL1_YELLOW_COINS_PRESERVE:
self.config.task_call('OpsiHazard1Leveling')
def opsi_cross_month(self):
campaign = self.load_campaign()