mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Fix: Handle skin and item expired (fixed #1309)
This commit is contained in:
@@ -5,8 +5,9 @@ from module.combat.assets import GET_ITEMS_1, GET_SHIP
|
||||
from module.exception import (GameNotRunningError, GamePageUnknownError,
|
||||
RequestHumanTakeover)
|
||||
from module.handler.assets import (AUTO_SEARCH_MENU_EXIT, BATTLE_PASS_NOTICE,
|
||||
GAME_TIPS, LOGIN_ANNOUNCE, LOGIN_CHECK,
|
||||
LOGIN_RETURN_SIGN, MONTHLY_PASS_NOTICE)
|
||||
GAME_TIPS, GET_MISSION, LOGIN_ANNOUNCE,
|
||||
LOGIN_CHECK, LOGIN_RETURN_SIGN,
|
||||
MONTHLY_PASS_NOTICE)
|
||||
from module.handler.info_handler import InfoHandler
|
||||
from module.logger import logger
|
||||
from module.map.assets import (FLEET_PREPARATION, MAP_PREPARATION,
|
||||
@@ -402,6 +403,9 @@ class UI(InfoHandler):
|
||||
return True
|
||||
if self.appear_then_click(PURCHASE_POPUP, offset=(44, -77, 84, -37), interval=3):
|
||||
return True
|
||||
# Item expired offset=(37, 72), skin expired, offset=(24, 68)
|
||||
if self.appear_then_click(GET_MISSION, offset=(-6, 48, 54, 88), interval=3):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user