mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Add: 更多收菜的触发条件
- 在主线图时, 出现委托完成的红点, 会触发收菜 - 完成每日任务时, 会触发收菜 - 执行收菜设置时, 会触发收菜
This commit is contained in:
@@ -11,7 +11,7 @@ from module.base.utils import area_offset, get_color
|
||||
from module.handler.info_bar import InfoBarHandler
|
||||
from module.logger import logger
|
||||
from module.reward.assets import *
|
||||
from module.ui.page import page_reward, page_commission
|
||||
from module.ui.page import page_reward, page_commission, CAMPAIGN_CHECK
|
||||
from module.ui.ui import UI
|
||||
|
||||
dictionary = {
|
||||
@@ -458,9 +458,8 @@ class RewardCommission(UI, InfoBarHandler):
|
||||
self.ui_goto(page_reward, skip_first_screenshot=True)
|
||||
|
||||
def commission_notice_show_at_campaign(self):
|
||||
"""Make sure current page is page_campaign before calls.
|
||||
|
||||
"""
|
||||
Returns:
|
||||
bool: If any commission finished.
|
||||
"""
|
||||
return self.appear(COMMISSION_NOTICE_AT_CAMPAIGN)
|
||||
return self.appear(CAMPAIGN_CHECK) and self.appear(COMMISSION_NOTICE_AT_CAMPAIGN)
|
||||
|
||||
Reference in New Issue
Block a user