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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user