mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-29 16:17:13 +08:00
Opt: Adjust threshold for ultra fast computer
This commit is contained in:
@@ -213,7 +213,7 @@ class Enhancement(Dock):
|
|||||||
if state == "state_enhance_check":
|
if state == "state_enhance_check":
|
||||||
state_list.clear()
|
state_list.clear()
|
||||||
state_list.append(state)
|
state_list.append(state)
|
||||||
if len(state_list) > 20:
|
if len(state_list) > 30:
|
||||||
logger.critical(f'Too many state transitions: {state_list}')
|
logger.critical(f'Too many state transitions: {state_list}')
|
||||||
raise RequestHumanTakeover
|
raise RequestHumanTakeover
|
||||||
|
|
||||||
@@ -221,6 +221,7 @@ class Enhancement(Dock):
|
|||||||
except KeyError as e:
|
except KeyError as e:
|
||||||
logger.warning(f'Unkonwn state function: {state}')
|
logger.warning(f'Unkonwn state function: {state}')
|
||||||
raise ScriptError(f'Unkonwn state function: {state}')
|
raise ScriptError(f'Unkonwn state function: {state}')
|
||||||
|
|
||||||
return state, ship_count
|
return state, ship_count
|
||||||
|
|
||||||
def enhance_ships(self, favourite=None):
|
def enhance_ships(self, favourite=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user