1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-29 07:00:09 +08:00

Add: Raid Scuttle function

This commit is contained in:
guoh064
2026-04-04 13:56:07 +08:00
committed by sui-feng-cb
parent 9659397249
commit 1e102443d3
19 changed files with 895 additions and 4 deletions

View File

@@ -294,7 +294,7 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
if not self._automation_set_timer.reached():
return False
if self.appear(AUTOMATION_ON):
if self.appear(AUTOMATION_ON, offset=(60, 10)):
logger.info('[Automation] ON')
if not auto:
self.device.click(AUTOMATION_SWITCH)
@@ -302,7 +302,7 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
self._automation_set_timer.reset()
return True
if self.appear(AUTOMATION_OFF):
if self.appear(AUTOMATION_OFF, offset=(60, 10)):
logger.info('[Automation] OFF')
if auto:
self.device.click(AUTOMATION_SWITCH)