mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Refactor: 抽象出处理确认弹窗的逻辑
- 删除了一些无用的assets - 纠正了一些拼写错误
This commit is contained in:
@@ -3,11 +3,13 @@ from module.daemon.assets import *
|
||||
from module.handler.ambush import MAP_AMBUSH_EVADE
|
||||
from module.handler.enemy_searching import EnemySearchingHandler
|
||||
from module.handler.mystery import MysteryHandler
|
||||
from module.handler.popup import PopupHandler
|
||||
from module.handler.urgent_commission import UrgentCommissionHandler
|
||||
from module.map.map_fleet_preparation import FleetPreparation
|
||||
|
||||
|
||||
class AzurLaneDaemon(FleetPreparation, Combat, UrgentCommissionHandler, EnemySearchingHandler, MysteryHandler):
|
||||
class AzurLaneDaemon(FleetPreparation, Combat, UrgentCommissionHandler, EnemySearchingHandler, MysteryHandler,
|
||||
PopupHandler):
|
||||
def daemon(self):
|
||||
|
||||
while 1:
|
||||
@@ -55,7 +57,7 @@ class AzurLaneDaemon(FleetPreparation, Combat, UrgentCommissionHandler, EnemySea
|
||||
if self.config.ENABLE_SEMI_STORY_SKIP:
|
||||
if self.appear_then_click(STORY_SKIP, offset=True, interval=2):
|
||||
continue
|
||||
if self.appear_then_click(STORY_SKIP_CONFIRM, offset=True, interval=2):
|
||||
if self.handle_popup_confirm():
|
||||
continue
|
||||
if self.appear_then_click(STORY_CHOOCE, offset=True, interval=2):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user