mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 20:27:22 +08:00
Fix: _dorm_receive add clause to ensure DORM_CHECK in view before attempt
This commit is contained in:
@@ -110,6 +110,12 @@ class RewardDorm(UI):
|
|||||||
if self.ui_additional_page_dorm():
|
if self.ui_additional_page_dorm():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# DORM_CHECK on screen before attempt
|
||||||
|
# Stacked popup may fail detection as
|
||||||
|
# may be in progress of appearing
|
||||||
|
if not self.appear(DORM_CHECK):
|
||||||
|
continue
|
||||||
|
|
||||||
# End
|
# End
|
||||||
# - If max _dorm_receive_attempt (3+) reached
|
# - If max _dorm_receive_attempt (3+) reached
|
||||||
# - If _dorm_receive_click returns 0 (no coins/loves clicked)
|
# - If _dorm_receive_click returns 0 (no coins/loves clicked)
|
||||||
|
|||||||
Reference in New Issue
Block a user