mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Add: Operation siren clear full map
- Skip clicking if already goto destination - Skip path finding if no fleet 2 - Right align Y axis when showing map - Fix perspective draw - Add MAP_FOCUS_ENEMY_AFTER_BATTLE for OS - ensure_edge_insight now focus to random corner, rather than bottom-right - Add OSGrids - Add view mode to detect maps in OS - Fix OCR debug run before model init - Add handle_map_event() to include all os handlers - Add OS map info extractor
This commit is contained in:
15
module/campaign/os_run.py
Normal file
15
module/campaign/os_run.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from module.os.config import OSConfig
|
||||
from module.os.map import OSMap
|
||||
from module.os.map_operation import OSMapOperation
|
||||
|
||||
|
||||
class OSCampaignRun(OSMapOperation):
|
||||
campaign: OSMap
|
||||
|
||||
def load_campaign(self):
|
||||
config = self.config.merge(OSConfig())
|
||||
self.campaign = OSMap(config=config, device=self.device)
|
||||
|
||||
def run(self):
|
||||
self.load_campaign()
|
||||
self.campaign.run()
|
||||
Reference in New Issue
Block a user