mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: After daily finished, game goto BATTLE_PREPARATION randomly
This commit is contained in:
parent
93dbca0346
commit
3e8e4f684d
@ -1,6 +1,7 @@
|
||||
import numpy as np
|
||||
|
||||
from module.base.utils import get_color
|
||||
from module.combat.assets import BATTLE_PREPARATION
|
||||
from module.daily.assets import *
|
||||
from module.equipment.fleet_equipment import DailyEquipment
|
||||
from module.logger import logger
|
||||
@ -64,6 +65,8 @@ class Daily(Reward, DailyEquipment):
|
||||
return self.appear(DAILY_ENTER_CHECK)
|
||||
|
||||
def daily_end():
|
||||
if self.appear(BATTLE_PREPARATION, interval=2):
|
||||
self.device.click(BACK_ARROW)
|
||||
return self.appear(DAILY_ENTER_CHECK) or self.appear(BACK_ARROW)
|
||||
|
||||
self.ui_click(click_button=DAILY_ENTER, check_button=daily_enter_check, appear_button=DAILY_CHECK)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user