mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 04:53:34 +08:00
Fix: Set click interval in ash combat
This commit is contained in:
@@ -34,12 +34,11 @@ 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',
|
if self.appear_then_click(BATTLE_STATUS, screenshot=save_get_items, genre='status', interval=3):
|
||||||
interval=self.battle_status_click_interval):
|
|
||||||
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
|
||||||
if self.appear(BATTLE_PREPARATION, offset=(30, 30)):
|
if self.appear(BATTLE_PREPARATION, offset=(30, 30), interval=3):
|
||||||
self.device.click(BACK_ARROW)
|
self.device.click(BACK_ARROW)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user