1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-15 12:17:20 +08:00

Fix: Revert dock filter objects back to using default appear() with no offset, actually often inaccurately determined whether button has appeared as a result more frequently

Fix: Determined continue statement is the correct behavior as side bar buttons may have changed after swipe, so should be reflected accordingly.

Fix: Updated switch class set to break out of loop if already unknown too many times, originally caused chain of exception which can be confusing to parse

Fix: All filter assets in index category have been updated to smaller comparison area due to mixed results varying from user to user. Using a debug script, to test appear() with no offset seems to be evaluating correctly with them although it also evaluates correctly with original assets.
This commit is contained in:
nEEtdo0d
2020-08-13 20:30:54 -04:00
parent 00e991f767
commit 4a5e2bf271
22 changed files with 77 additions and 44 deletions

View File

@@ -182,9 +182,10 @@ class Enhancement(Dock):
if not swiped or next_count >= 3:
return False
else:
attempt_count = -1
attempt_count = 0
logger.info(f'Try next ship: {3 - next_count}/3 remaining until give up')
next_count += 1
continue
attempt_count += 1
if self.appear_then_click(ENHANCE_RECOMMEND, offset=(5, 5), interval=2):