mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-20 04:59:53 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user