mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Upd: Battle UI Nurse
This commit is contained in:
@@ -106,6 +106,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
# PAUSE_Pharaoh has random animation, assets should avoid the area in the middle and use match_luma
|
||||
if PAUSE_Pharaoh.match_luma(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_Pharaoh
|
||||
if PAUSE_Nurse.match_luma(self.device.image, offset=(10, 10)):
|
||||
return PAUSE_Nurse
|
||||
return False
|
||||
|
||||
def handle_combat_quit(self, offset=(20, 20), interval=3):
|
||||
@@ -135,6 +137,10 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
self.device.click(QUIT_Pharaoh)
|
||||
timer.reset()
|
||||
return True
|
||||
if QUIT_Nurse.match_luma(self.device.image, offset=offset):
|
||||
self.device.click(QUIT_Nurse)
|
||||
timer.reset()
|
||||
return True
|
||||
return False
|
||||
|
||||
def ensure_combat_oil_loaded(self):
|
||||
|
||||
Reference in New Issue
Block a user