mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Add: 适配了活动微层混合D3
- 修改了GUI的活动图入口 - 修正了UI_MASK文件 - 修改舰队识别, boss识别方式为模板匹配 - 修改当前舰队识别的色相阈值 - 增加了对boss右下角小图标的识别 - 修改了错误格子的修正方法, 若当列格子数量不足, 将被剔除 - 修复了退役后不会快速重新进入战斗的问题
This commit is contained in:
@@ -208,7 +208,7 @@ class Camera(InfoBarHandler):
|
||||
|
||||
queue = self.map.camera_data
|
||||
while len(queue) > 0:
|
||||
if self.map.missing_is_none(battle_count, mystery_count):
|
||||
if self.map.missing_is_none(battle_count, mystery_count, siren_count):
|
||||
logger.info('All spawn found, Early stopped.')
|
||||
break
|
||||
queue = queue.sort_by_camera_distance(self.camera)
|
||||
@@ -257,8 +257,8 @@ class Camera(InfoBarHandler):
|
||||
location = location_ensure(location)
|
||||
|
||||
grid = np.array(location) - self.camera + self.grids.center_grid
|
||||
# logger.info('Convert_map_to_grid Failed. Map: %s, Camera: %s, grids_center: %s, grid: %s' % (
|
||||
# location2node(location), str(self.camera), str(self.grids.center_grid), str(grid)))
|
||||
logger.info('Convert_map_to_grid. Map: %s, Camera: %s, grids_center: %s, grid: %s' % (
|
||||
location2node(location), str(self.camera), str(self.grids.center_grid), str(grid)))
|
||||
if grid in self.grids:
|
||||
return self.grids[grid]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user