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

Fix: BATTLE_STATUS detection in os ash combat

This commit is contained in:
LmeSzinc
2021-03-31 16:35:40 +08:00
parent 4866584e1b
commit 38fa6b4183

View File

@@ -34,7 +34,8 @@ class AshCombat(Combat):
"""
if self.is_combat_executing():
return False
if self.appear_then_click(BATTLE_STATUS, screenshot=save_get_items, genre='status', interval=3):
if self.appear_then_click(BATTLE_STATUS, offset=(20, 20),
screenshot=save_get_items, genre='status', interval=3):
if not save_get_items:
self.device.sleep((0.25, 0.5))
return True