mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: BATTLE_STATUS detection in os ash combat
This commit is contained in:
@@ -34,7 +34,8 @@ class AshCombat(Combat):
|
|||||||
"""
|
"""
|
||||||
if self.is_combat_executing():
|
if self.is_combat_executing():
|
||||||
return False
|
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:
|
if not save_get_items:
|
||||||
self.device.sleep((0.25, 0.5))
|
self.device.sleep((0.25, 0.5))
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user