mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 09:23:45 +08:00
Refactor: Ash beacon assist
This commit is contained in:
@@ -120,7 +120,7 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
continue
|
||||
if balance_hp and self.handle_emergency_repair_use():
|
||||
continue
|
||||
if self.appear_then_click(BATTLE_PREPARATION, interval=2):
|
||||
if self.handle_battle_preparation():
|
||||
continue
|
||||
if self.handle_combat_automation_confirm():
|
||||
continue
|
||||
@@ -133,6 +133,16 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
self.emotion.reduce(fleet_index)
|
||||
break
|
||||
|
||||
def handle_battle_preparation(self):
|
||||
"""
|
||||
Returns:
|
||||
bool:
|
||||
"""
|
||||
if self.appear_then_click(BATTLE_PREPARATION, interval=2):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def handle_combat_automation_set(self, auto):
|
||||
"""
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user