1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-05-24 08:39:46 +08:00
This commit is contained in:
2026-05-21 03:50:33 +08:00
16 changed files with 95 additions and 29 deletions

View File

@@ -130,6 +130,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
return PAUSE_SpringInn
if PAUSE_ElvenVine.match_template_color(self.device.image, offset=(10, 10)):
return PAUSE_ElvenVine
if PAUSE_GildedReverie.match_template_color(self.device.image, offset=(10, 10)):
return PAUSE_GildedReverie
return False
def handle_combat_quit(self, offset=(20, 20), interval=3):
@@ -185,6 +187,10 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
self.device.click(QUIT_SpringInn)
timer.reset()
return True
if QUIT_GildedReverie.match_luma(self.device.image, offset=offset):
self.device.click(QUIT_GildedReverie)
timer.reset()
return True
return False
def handle_combat_quit_reconfirm(self, interval=2):