1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-20 21:13:06 +08:00

Upd: Battle UI YoRHa

This commit is contained in:
LmeSzinc
2026-08-18 03:25:34 +08:00
parent d6b4bba443
commit c6d79bf756
6 changed files with 9 additions and 0 deletions

View File

@@ -138,6 +138,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
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):
@@ -201,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):