mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 12:08:21 +08:00
Upd: Battle UI MaidCafe
This commit is contained in:
@@ -121,6 +121,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
return PAUSE_Ninja
|
||||
if PAUSE_ShadowPuppetry.match_luma(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_ShadowPuppetry
|
||||
if PAUSE_MaidCafe.match_template_color(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_MaidCafe
|
||||
return False
|
||||
|
||||
def handle_combat_quit(self, offset=(20, 20), interval=3):
|
||||
@@ -168,6 +170,10 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
self.device.click(QUIT_Ninja)
|
||||
timer.reset()
|
||||
return True
|
||||
if QUIT_MaidCafe.match_luma(self.device.image, offset=offset):
|
||||
self.device.click(QUIT_MaidCafe)
|
||||
timer.reset()
|
||||
return True
|
||||
return False
|
||||
|
||||
def ensure_combat_oil_loaded(self):
|
||||
|
||||
Reference in New Issue
Block a user