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

Fix: Increase max trial of ONE_CLICK_RETIREMENT

Game client on slow devices may take a long time to select ships in dock
This commit is contained in:
LmeSzinc
2023-08-18 12:12:37 +08:00
parent 2ea41074de
commit e25e8e3680

View File

@@ -188,8 +188,8 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
break
# Click
if click_count >= 3:
logger.warning('Failed to select ships using ONE_CLICK_RETIREMENT after 3 trial, '
if click_count >= 7:
logger.warning('Failed to select ships using ONE_CLICK_RETIREMENT after 7 trial, '
'probably because game bugged, a re-enter should fix it')
# Mark as retire finished, higher level will call retires
end = True