mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 05:47:23 +08:00
Add: hide_in_upper_left option for combat manual
This commit is contained in:
@@ -42,6 +42,20 @@ class CombatManual(ModuleBase):
|
||||
self.device.long_click(MOVE_LEFT_DOWN, duration=(3.5, 5.5))
|
||||
return True
|
||||
|
||||
def handle_combat_stand_still_upper_left(self, auto):
|
||||
"""
|
||||
Args:
|
||||
auto (str): Combat auto mode.
|
||||
|
||||
Returns:
|
||||
bool: If executed
|
||||
"""
|
||||
if auto != 'hide_in_upper_left':
|
||||
return False
|
||||
|
||||
self.device.long_click(MOVE_LEFT_UP, duration=(1.5, 3.5))
|
||||
return True
|
||||
|
||||
def handle_combat_weapon_release(self):
|
||||
if self.appear_then_click(READY_AIR_RAID, interval=10):
|
||||
return True
|
||||
@@ -67,5 +81,8 @@ class CombatManual(ModuleBase):
|
||||
if self.handle_combat_stand_still_bottom_left(auto):
|
||||
self.manual_executed = True
|
||||
return True
|
||||
if self.handle_combat_stand_still_upper_left(auto):
|
||||
self.manual_executed = True
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user