1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Fix: 修复精英检测

- 修复红框会越到下面一个格子的问题
- 修复BD图红框闪烁检测的问题
This commit is contained in:
LmeSzinc
2020-04-25 02:09:27 +08:00
parent 4e58edadbd
commit f9b2a9358b
5 changed files with 19 additions and 4 deletions

View File

@@ -97,6 +97,12 @@ class Grids(Perspective):
for grid in self:
grid.is_siren = False
# for grid in self:
# if grid.is_enemy and grid.enemy_scale == 0:
# import time
# self.image.save(f'{int(time.time()*1000)}.png')
# break
def update(self, image):
self.image = image
for grid in self: