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

Fix: [JP] SUBMARINE_BAR

This commit is contained in:
LmeSzinc
2023-10-22 21:51:52 +08:00
parent 6b88d338b5
commit fb3d736bbb
3 changed files with 4 additions and 3 deletions

View File

@@ -251,7 +251,8 @@ class FleetOperator:
"""
# Check the brightness of the rightest column of the bar area.
luma = rgb2gray(self.main.image_crop(self._bar.button))[:, -1]
return np.sum(luma > 127) / luma.size > 0.5
# FLEET_PREPARATION is about 146~155
return np.sum(luma > 168) / luma.size > 0.5
def ensure_to_be(self, index):
"""