1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-05-22 01:57:51 +08:00

Upd: Battle UI GildedReverie

This commit is contained in:
LmeSzinc
2026-05-21 00:35:29 +08:00
parent d6cd9fb20d
commit 4aeaf1d598
5 changed files with 9 additions and 0 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):