mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-07 08:06:49 +08:00
Fix: Avoid clicking EXERCISE_PREPARATION after DORM_FURNITURE_SHOP_FIRST (#4422)
This commit is contained in:
parent
b77f486d8a
commit
be48eca020
@ -37,11 +37,11 @@ class BuyFurniture(UI):
|
||||
# Enter furniture shop page from page_dorm, only need to enter once
|
||||
if self.appear(DORM_CHECK, offset=(20, 20), interval=3):
|
||||
self.device.click(DORM_FURNITURE_SHOP_ENTER)
|
||||
self.interval_reset(GET_SHIP)
|
||||
self.interval_reset([GET_SHIP, EXERCISE_PREPARATION])
|
||||
continue
|
||||
|
||||
if self.appear(DORM_FURNITURE_SHOP_FIRST_SELECTED, offset=(20, 20)):
|
||||
self.interval_reset(EXERCISE_PREPARATION)
|
||||
self.interval_reset([GET_SHIP, EXERCISE_PREPARATION])
|
||||
# Enter furniture details page from furniture shop page
|
||||
if self.appear(DORM_FURNITURE_DETAILS_ENTER, offset=(20, 20), interval=3):
|
||||
self.device.click(DORM_FURNITURE_DETAILS_ENTER)
|
||||
@ -50,6 +50,7 @@ class BuyFurniture(UI):
|
||||
# Re select the first piece of furniture on left side of furniture list below.
|
||||
elif self.appear(DORM_FURNITURE_SHOP_FIRST, offset=(20, 20), interval=3):
|
||||
self.device.click(DORM_FURNITURE_SHOP_FIRST)
|
||||
self.interval_reset([GET_SHIP, EXERCISE_PREPARATION])
|
||||
continue
|
||||
|
||||
if self.appear(DORM_FURNITURE_DETAILS_QUIT, offset=(20, 20)):
|
||||
|
Loading…
Reference in New Issue
Block a user