1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: Add PAUSE in stuck record since is_combat_executing() bypassed appear()

This commit is contained in:
LmeSzinc
2024-05-09 21:39:47 +08:00
parent bbe601b687
commit 382980ca06

View File

@@ -79,6 +79,7 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
Returns:
bool:
"""
self.device.stuck_record_add(PAUSE)
color = get_color(self.device.image, PAUSE.area)
if color_similar(color, PAUSE.color) or color_similar(color, (238, 244, 248)):
if np.max(self.image_crop(PAUSE_DOUBLE_CHECK)) < 153: