mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 18:20:42 +00:00
Fix: Timeout adjustment
- increase walk_timeout - increase in_stage_timer
This commit is contained in:
parent
c402d3e047
commit
c01a075554
@ -9,7 +9,7 @@ from module.logger import logger
|
||||
class EnemySearchingHandler(InfoHandler):
|
||||
MAP_ENEMY_SEARCHING_OVERLAY_TRANSPARENCY_THRESHOLD = 0.5 # Usually (0.70, 0.80).
|
||||
MAP_ENEMY_SEARCHING_TIMEOUT_SECOND = 5
|
||||
in_stage_timer = Timer(1, count=2)
|
||||
in_stage_timer = Timer(1.5, count=5)
|
||||
|
||||
def enemy_searching_color_initial(self):
|
||||
MAP_ENEMY_SEARCHING.load_color(self.device.image)
|
||||
|
@ -106,7 +106,7 @@ class Fleet(Camera, MapOperation, AmbushHandler):
|
||||
# Wait after ambushed.
|
||||
ambushed_retry = Timer(0.5)
|
||||
# If nothing happens, click again.
|
||||
walk_timeout = Timer(10)
|
||||
walk_timeout = Timer(20)
|
||||
walk_timeout.start()
|
||||
|
||||
while 1:
|
||||
|
Loading…
Reference in New Issue
Block a user