mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Add: Appear MEOWFFICER_BUY_ENTER to ensure UI loading completed
This commit is contained in:
@@ -2,6 +2,7 @@ from module.meowfficer.buy import MeowfficerBuy
|
||||
from module.meowfficer.fort import MeowfficerFort
|
||||
from module.meowfficer.train import MeowfficerTrain
|
||||
from module.ui.page import page_meowfficer
|
||||
from module.meowfficer.assets import MEOWFFICER_BUY_ENTER
|
||||
|
||||
|
||||
class RewardMeowfficer(MeowfficerBuy, MeowfficerFort, MeowfficerTrain):
|
||||
@@ -21,6 +22,7 @@ class RewardMeowfficer(MeowfficerBuy, MeowfficerFort, MeowfficerTrain):
|
||||
self.config.task_stop()
|
||||
|
||||
self.ui_ensure(page_meowfficer)
|
||||
self.wait_until_appear(MEOWFFICER_BUY_ENTER) # Wait for the ui to load fully
|
||||
|
||||
if self.config.Meowfficer_BuyAmount > 0:
|
||||
self.meow_buy()
|
||||
|
||||
Reference in New Issue
Block a user