mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 04:25:56 +08:00
Fix: Enter ash help accidentally after ash combat
This commit is contained in:
@@ -330,10 +330,14 @@ class OSAsh(UI, MapEventHandler):
|
|||||||
else:
|
else:
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
|
|
||||||
if self._handle_ash_beacon_reward():
|
# Accident clicks
|
||||||
continue
|
|
||||||
if self.appear(BATTLE_PREPARATION, offset=(30, 30), interval=2):
|
if self.appear(BATTLE_PREPARATION, offset=(30, 30), interval=2):
|
||||||
self.device.click(BACK_ARROW)
|
self.device.click(BACK_ARROW)
|
||||||
|
if self.appear(HELP_CONFIRM, offset=(30, 30), interval=2):
|
||||||
|
self.device.click(BACK_ARROW)
|
||||||
|
# Combat and rewards
|
||||||
|
if self._handle_ash_beacon_reward():
|
||||||
|
continue
|
||||||
if self.appear(ASH_START, offset=(30, 30)):
|
if self.appear(ASH_START, offset=(30, 30)):
|
||||||
ash_combat.combat(expected_end=self.is_in_ash, save_get_items=False, emotion_reduce=False)
|
ash_combat.combat(expected_end=self.is_in_ash, save_get_items=False, emotion_reduce=False)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user