mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 16:17:21 +08:00
Fix: Different interval of BATTLE_PREPARATION in ash attack (#2005)
This commit is contained in:
@@ -42,7 +42,7 @@ class AshCombat(Combat):
|
|||||||
self.device.sleep((0.25, 0.5))
|
self.device.sleep((0.25, 0.5))
|
||||||
self.device.click(BATTLE_STATUS)
|
self.device.click(BATTLE_STATUS)
|
||||||
return True
|
return True
|
||||||
if self.appear(BATTLE_PREPARATION, offset=(30, 30), interval=3):
|
if self.appear(BATTLE_PREPARATION, offset=(30, 30), interval=2):
|
||||||
self.device.click(BACK_ARROW)
|
self.device.click(BACK_ARROW)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ class AshCombat(Combat):
|
|||||||
if super().handle_battle_preparation():
|
if super().handle_battle_preparation():
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if self.appear_then_click(ASH_START, offset=(30, 30)):
|
if self.appear_then_click(ASH_START, offset=(30, 30), interval=2):
|
||||||
return True
|
return True
|
||||||
if self.handle_get_items():
|
if self.handle_get_items():
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user