mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Add: Semi-auto for operation siren
- Fix: Clicking on HOME button when skipping story - TODO: [EN][JP] Replace assets in os_combat and os_handler
This commit is contained in:
22
module/os_handler/map_event.py
Normal file
22
module/os_handler/map_event.py
Normal file
@@ -0,0 +1,22 @@
|
||||
from module.combat.assets import *
|
||||
from module.handler.info_handler import InfoHandler
|
||||
from module.os_handler.assets import *
|
||||
|
||||
|
||||
class MapEventHandler(InfoHandler):
|
||||
def handle_map_get_items(self):
|
||||
if self.appear(GET_ITEMS_1) or self.appear(GET_ITEMS_2) or self.appear(GET_ITEMS_3):
|
||||
self.device.click(CLICK_SAFE_AREA)
|
||||
return True
|
||||
if self.appear(GET_OS_STATUS):
|
||||
self.device.click(CLICK_SAFE_AREA)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def handle_map_archives(self):
|
||||
if self.appear(MAP_ARCHIVES, interval=5):
|
||||
self.device.click(CLICK_SAFE_AREA)
|
||||
return True
|
||||
|
||||
return False
|
||||
Reference in New Issue
Block a user