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

Fix: check EQUIPMENT_OPEN using template matching

This commit is contained in:
Air111
2024-05-03 17:42:39 +08:00
committed by LmeSzinc
parent 543154eb8b
commit 5e77b8d6e9
2 changed files with 6 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ class EquipmentChange(Equipment):
skip_first_screenshot = False
else:
self.device.screenshot()
if self.appear(EQUIPMENT_OPEN):
if self.appear(EQUIPMENT_OPEN, offset=(5, 5)):
break
self.equipment_list = {}