mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: 增加连续点击一个按钮时, 停止运行的功能
- 增加靠边缘修正相机位置时的log - 修复了频繁报Enemy searching timeout的问题 - 修复周回模式下, 已经进图时, 会按有伏击运行的问题
This commit is contained in:
@@ -43,6 +43,7 @@ class Grids(Perspective):
|
||||
np.where(self.vertical.distance_to_point(self.config.SCREEN_CENTER) >= 0)[0][0] - 1,
|
||||
np.where(self.horizontal.distance_to_point(self.config.SCREEN_CENTER) >= 0)[0][0] - 1
|
||||
)
|
||||
logger.info(f' Center grid: {self.center_grid}')
|
||||
self.center_offset = self.grids[self.center_grid].screen_point_to_grid_location(self.config.SCREEN_CENTER)
|
||||
self.shape = np.max(list(self.grids.keys()), axis=0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user