mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Fix: Lots of problems
- Fix HOMO_EDGE_HOUGHLINES_THRESHOLD not used - Fix get stuck if kill too fast in combat_executing - Fix wrong swipe when camera out of map - Fix walk_out_of_step not detected - Opt relative_record now save temp images in sub folder
This commit is contained in:
@@ -106,7 +106,7 @@ class AmbushHandler(Combat):
|
||||
if not self.appear(INFO_BAR_1):
|
||||
return False
|
||||
|
||||
image = ambush_letter_preprocess(np.array(self.device.image.crop(MAP_WALK_OUT_OF_STEP.area)))
|
||||
image = ambush_letter_preprocess(np.array(self.device.image.crop(INFO_BAR_DETECT.area)))
|
||||
if TEMPLATE_MAP_WALK_OUT_OF_STEP.match(image):
|
||||
logger.warning('Map walk out of step.')
|
||||
self.handle_info_bar()
|
||||
|
||||
Reference in New Issue
Block a user