def os_clear_map(self): from module.campaign.os_run import OSCampaignRun az = OSCampaignRun(self.config, device=self.device) az.run()
def daily_wrapper_run(self): count = 0 total = 6 if self.config.ENABLE_EXERCISE: from module.exercise.exercise import Exercise az = Exercise(self.config, device=self.device) if not az.record_executed_since(): az.run() az.record_save() count += 1 self.device.send_notification('Daily Exercises', 'Exercise daily finished.') if self.config.ENABLE_DAILY_MISSION: from module.daily.daily import Daily az = Daily(self.config, device=self.device) if not az.record_executed_since(): az.run() az.record_save() count += 1 self.device.send_notification('Daily Mission', 'Daily raid finished.') if self.config.ENABLE_HARD_CAMPAIGN: from module.hard.hard import CampaignHard az = CampaignHard(self.config, device=self.device) if not az.record_executed_since(): az.run() az.record_save() count += 1 self.device.send_notification('Daily Hard', 'Daily hard campaign finished.') if self.config.ENABLE_EVENT_SP: from module.event.campaign_sp import CampaignSP az = CampaignSP(self.config, device=self.device) if az.run_event_daily_sp(): count += 1 self.device.send_notification('Daily Event SP', 'Daily event SP finished.') if self.config.ENABLE_EVENT_AB: from module.event.campaign_ab import CampaignAB az = CampaignAB(self.config, device=self.device) if az.run_event_daily(): count += 1 self.device.send_notification('Daily Event AB', 'Daily event AB finished.') if self.config.ENABLE_RAID_DAILY: from module.raid.daily import RaidDaily az = RaidDaily(self.config, device=self.device) if not az.record_executed_since(): az.run() az.record_save() count += 1 self.device.send_notification('Daily Event RAID', 'Daily event RAID finished.') if self.config.ENABLE_OS_ASH_ASSIST: from module.os_ash.ash import AshDaily az = AshDaily(self.config, device=self.device) if not az.record_executed_since(): az.run() az.record_save() # Ash assist doesn't finish any daily mission, so not counted in. # count += 1 if self.config.DO_OS_IN_DAILY: from module.campaign.os_run import OSCampaignRun az = OSCampaignRun(self.config, device=self.device) if not az.record_executed_since(): az.run_daily() logger.attr('Daily_executed', f'{count}/{total}') return count
def os_fully_auto(self): from module.campaign.os_run import OSCampaignRun az = OSCampaignRun(self.config, device=self.device) az.run_operation_siren() self.reward_when_finished()
def os_world_clear(self): from module.campaign.os_run import OSCampaignRun az = OSCampaignRun(self.config, device=self.device) az.run_clear_os_world() self.reward_when_finished()
def opsi_meowfficer_farming(self): from module.campaign.os_run import OSCampaignRun OSCampaignRun(config=self.config, device=self.device).opsi_meowfficer_farming()
def opsi_stronghold(self): from module.campaign.os_run import OSCampaignRun OSCampaignRun(config=self.config, device=self.device).opsi_stronghold()
def opsi_abyssal(self): from module.campaign.os_run import OSCampaignRun OSCampaignRun(config=self.config, device=self.device).opsi_abyssal()