1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 04:37:44 +08:00

Revert "Fix: handle island level up in project"

This reverts commit aa4e3b2376.
This commit is contained in:
sui-feng-cb
2025-10-19 11:49:14 +08:00
parent aa4e3b2376
commit ff29637fbf
2 changed files with 7 additions and 18 deletions

View File

@@ -324,7 +324,6 @@ class IslandProjectRun(IslandUI):
GET_ITEMS_ISLAND, ROLE_SELECT_ENTER])
success = False
enter = True
click_timer = Timer(5, count=10)
timeout = Timer(3, count=6).start()
while 1:
if skip_first_screenshot:
@@ -356,7 +355,6 @@ class IslandProjectRun(IslandUI):
enter = False
self.interval_clear(GET_ITEMS_ISLAND)
self.interval_reset(ROLE_SELECT_ENTER)
click_timer.reset()
timeout.reset()
continue
@@ -366,13 +364,6 @@ class IslandProjectRun(IslandUI):
timeout.reset()
continue
# handle island level up
if click_timer.reached():
self.device.click(GET_ITEMS_ISLAND)
self.device.sleep(0.3)
click_timer.reset()
continue
if self.appear(ROLE_SELECT_CONFIRM, offset=(20, 20)):
break
if timeout.reached():