1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Upd: Coalition 20260122

This commit is contained in:
sui-feng-cb
2026-01-22 17:02:06 +08:00
parent e61cfdeb63
commit 238428f7b9
31 changed files with 150 additions and 110 deletions

View File

@@ -150,9 +150,14 @@ page_campaign.link(button=CAMPAIGN_GOTO_EVENT, destination=page_sp)
# page_coalition.link(button=NEONCITY_UI_BACK, destination=page_campaign)
# page_campaign_menu.link(button=CAMPAIGN_MENU_GOTO_EVENT, destination=page_coalition)
# DAL
page_coalition = Page(FROSTFALL_COALITION_CHECK)
page_coalition.link(button=GOTO_MAIN, destination=page_main)
page_coalition.link(button=BACK_ARROW, destination=page_campaign)
# page_coalition = Page(FROSTFALL_COALITION_CHECK)
# page_coalition.link(button=GOTO_MAIN, destination=page_main)
# page_coalition.link(button=BACK_ARROW, destination=page_campaign)
# page_campaign_menu.link(button=CAMPAIGN_MENU_GOTO_EVENT, destination=page_coalition)
# FASHION
page_coalition = Page(FASHION_COALITION_CHECK)
page_coalition.link(button=FASHION_UI_HOME, destination=page_main)
page_coalition.link(button=FASHION_UI_BACK, destination=page_campaign)
page_campaign_menu.link(button=CAMPAIGN_MENU_GOTO_EVENT, destination=page_coalition)
# Operation Siren

View File

@@ -1,7 +1,7 @@
from module.base.button import Button
from module.base.decorator import run_once
from module.base.timer import Timer
from module.coalition.assets import NEONCITY_FLEET_PREPARATION, NEONCITY_PREPARATION_EXIT, DAL_DIFFICULTY_EXIT
from module.coalition.assets import FASHION_FLEET_PREPARATION, NEONCITY_PREPARATION_EXIT
from module.combat.assets import GET_ITEMS_1, GET_ITEMS_2, GET_SHIP
from module.event_hospital.assets import HOSIPITAL_CLUE_CHECK, HOSPITAL_BATTLE_EXIT
from module.exception import (GameNotRunningError, GamePageUnknownError,
@@ -564,7 +564,12 @@ class UI(InfoHandler):
# self.device.click(NEONCITY_PREPARATION_EXIT)
# return True
# DATE A LANE (coalition_20251120)
if self.appear_then_click(DAL_DIFFICULTY_EXIT, offset=(20, 20), interval=3):
# if self.appear_then_click(DAL_DIFFICULTY_EXIT, offset=(20, 20), interval=3):
# return True
# Fashion shoot (coalition_20260122)
if self.appear(FASHION_FLEET_PREPARATION, offset=(20, 20), interval=3):
logger.info(f'{FASHION_FLEET_PREPARATION} -> {NEONCITY_PREPARATION_EXIT}')
self.device.click(NEONCITY_PREPARATION_EXIT)
return True
# Idle page