mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-05-17 03:48:38 +08:00
Refactor: OS module
- Refactor OS explore, able to run without 5000 oil item - Fix: Screenshot interval recover
This commit is contained in:
22
alas.py
22
alas.py
@@ -28,7 +28,7 @@ from module.reward.reward import Reward
|
||||
from module.shop.shop_reward import RewardShop
|
||||
from module.sos.sos import CampaignSos
|
||||
from module.tactical.tactical_class import RewardTacticalClass
|
||||
|
||||
from module.campaign.os_run import OSCampaignRun
|
||||
|
||||
class AzurLaneAutoScript:
|
||||
def __init__(self, config_name='alas'):
|
||||
@@ -144,9 +144,21 @@ class AzurLaneAutoScript:
|
||||
def sos(self):
|
||||
CampaignSos(config=self.config, device=self.device).run()
|
||||
|
||||
def opsi_ash(self):
|
||||
def opsi_ash_assist(self):
|
||||
AshBeaconAssist(config=self.config, device=self.device).run()
|
||||
|
||||
def opsi_explore(self):
|
||||
OSCampaignRun(config=self.config, device=self.device).opsi_explore()
|
||||
|
||||
def opsi_daily(self):
|
||||
OSCampaignRun(config=self.config, device=self.device).opsi_daily()
|
||||
|
||||
def opsi_obscure(self):
|
||||
OSCampaignRun(config=self.config, device=self.device).opsi_obscure()
|
||||
|
||||
def opsi_meowfficer_farming(self):
|
||||
OSCampaignRun(config=self.config, device=self.device).opsi_meowfficer_farming()
|
||||
|
||||
def main(self):
|
||||
CampaignRun(config=self.config, device=self.device).run(
|
||||
name=self.config.Campaign_Name,
|
||||
@@ -155,9 +167,9 @@ class AzurLaneAutoScript:
|
||||
|
||||
def c72_mystery_farming(self):
|
||||
CampaignRun(config=self.config, device=self.device).run(
|
||||
name='campaign_7_2_mystery_farming',
|
||||
folder='campaign_main',
|
||||
mode='normal')
|
||||
name=self.config.Campaign_Name,
|
||||
folder=self.config.Campaign_Event,
|
||||
mode=self.config.Campaign_Mode)
|
||||
|
||||
def gems_farming(self):
|
||||
GemsFarming(config=self.config, device=self.device).run(
|
||||
|
||||
Reference in New Issue
Block a user