mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -117,6 +117,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
# PAUSE_Seaside is in light blue
|
||||
if PAUSE_Seaside.match_template_color(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_Seaside
|
||||
if PAUSE_Ninja.match_template_color(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_Ninja
|
||||
return False
|
||||
|
||||
def handle_combat_quit(self, offset=(20, 20), interval=3):
|
||||
@@ -160,6 +162,10 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
self.device.click(QUIT_Seaside)
|
||||
timer.reset()
|
||||
return True
|
||||
if QUIT_Ninja.match_luma(self.device.image, offset=offset):
|
||||
self.device.click(QUIT_Ninja)
|
||||
timer.reset()
|
||||
return True
|
||||
return False
|
||||
|
||||
def ensure_combat_oil_loaded(self):
|
||||
|
||||
Reference in New Issue
Block a user