fix(task): 修复 PRO 培育开始时会卡在技能卡/饮料二选一的选项上

This commit is contained in:
XcantloadX 2025-03-26 23:06:55 +08:00
parent 96be9740ba
commit 4460ee38c1
2 changed files with 8 additions and 2 deletions

View File

@ -417,10 +417,16 @@ def until_action_scene(week_first: bool = False):
R.InPurodyuusu.ButtonFinalPracticeDance # 离考试剩余一周
]):
logger.info("Action scene not detected. Retry...")
if acquisitions():
continue
# commu_event 和 acquisitions 顺序不能颠倒。
# 在 PRO 培育初始饮料、技能卡二选一事件时,右下方的
# 快进按钮会被视为交流。如果先执行 acquisitions()
# 会因为命中交流而 continuecommut_event() 永远
# 不会执行。
# [screenshots/produce/in_produce/initial_commu_event.png]
if week_first and commut_event():
continue
if acquisitions():
continue
sleep(0.2)
else:
logger.info("Now at action scene.")

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 KiB