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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user