1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-20 04:59:53 +08:00
This commit is contained in:
GH Action - Upstream Sync
2026-08-17 20:34:35 +00:00
9 changed files with 14 additions and 1 deletions

View File

@@ -136,6 +136,10 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
return PAUSE_AzureCore
if PAUSE_Nier.match_template_color(self.device.image, offset=(10, 10)):
return PAUSE_Nier
if PAUSE_OldeRoyal.match_template_color(self.device.image, offset=(10, 10)):
return PAUSE_OldeRoyal
if PAUSE_YoRHa.match_template_color(self.device.image, offset=(10, 10)):
return PAUSE_YoRHa
return False
def handle_combat_quit(self, offset=(20, 20), interval=3):
@@ -199,6 +203,10 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
self.device.click(QUIT_Nier)
timer.reset()
return True
if QUIT_YoRHa.match_luma(self.device.image, offset=offset):
self.device.click(QUIT_YoRHa)
timer.reset()
return True
return False
def handle_combat_quit_reconfirm(self, interval=2):