mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -108,6 +108,9 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
return PAUSE_Pharaoh
|
||||
if PAUSE_Nurse.match_luma(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_Nurse
|
||||
# PAUSE_Devil is in red
|
||||
if PAUSE_Devil.match_template_color(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_Devil
|
||||
return False
|
||||
|
||||
def handle_combat_quit(self, offset=(20, 20), interval=3):
|
||||
@@ -141,6 +144,7 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
self.device.click(QUIT_Nurse)
|
||||
timer.reset()
|
||||
return True
|
||||
# Battle UI PAUSE_Devil uses QUIT_New
|
||||
return False
|
||||
|
||||
def ensure_combat_oil_loaded(self):
|
||||
|
||||
Reference in New Issue
Block a user