mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 10:58:21 +08:00
Fix: META specific BATTLE_STATUS should be prior to general ones (#2635)
This commit is contained in:
@@ -33,8 +33,6 @@ class AshCombat(Combat):
|
|||||||
"""
|
"""
|
||||||
if self.is_combat_executing():
|
if self.is_combat_executing():
|
||||||
return False
|
return False
|
||||||
if super().handle_battle_status(drop=drop):
|
|
||||||
return True
|
|
||||||
if self.appear(BATTLE_STATUS, offset=(120, 20), interval=self.battle_status_click_interval):
|
if self.appear(BATTLE_STATUS, offset=(120, 20), interval=self.battle_status_click_interval):
|
||||||
if drop:
|
if drop:
|
||||||
drop.handle_add(self)
|
drop.handle_add(self)
|
||||||
@@ -45,6 +43,8 @@ class AshCombat(Combat):
|
|||||||
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)
|
||||||
return True
|
return True
|
||||||
|
if super().handle_battle_status(drop=drop):
|
||||||
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user