mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-31 20:30:34 +08:00
add month_boss_goto_additional
This commit is contained in:
@@ -511,10 +511,7 @@ class OSFleet(OSCamera, Combat, Fleet, OSAsh):
|
|||||||
# Having new screenshots
|
# Having new screenshots
|
||||||
self.wait_until_walk_stable(confirm_timer=Timer(1.5, count=4), walk_out_of_step=False)
|
self.wait_until_walk_stable(confirm_timer=Timer(1.5, count=4), walk_out_of_step=False)
|
||||||
|
|
||||||
def boss_goto(self, location=(0, 0), has_fleet_step=False, drop=None, is_month=False):
|
def month_boss_goto_additional(self, location=(0, 0), has_fleet_step=False, drop=None):
|
||||||
logger.hr('BOSS goto')
|
|
||||||
|
|
||||||
if is_month:
|
|
||||||
self.update_os()
|
self.update_os()
|
||||||
self.predict()
|
self.predict()
|
||||||
self.predict_radar()
|
self.predict_radar()
|
||||||
@@ -537,6 +534,12 @@ class OSFleet(OSCamera, Combat, Fleet, OSAsh):
|
|||||||
logger.info('No boss to goto, stop')
|
logger.info('No boss to goto, stop')
|
||||||
self.wait_until_walk_stable(confirm_timer=Timer(1.5, count=4), walk_out_of_step=False, drop=drop)
|
self.wait_until_walk_stable(confirm_timer=Timer(1.5, count=4), walk_out_of_step=False, drop=drop)
|
||||||
|
|
||||||
|
def boss_goto(self, location=(0, 0), has_fleet_step=False, drop=None, is_month=False):
|
||||||
|
logger.hr('BOSS goto')
|
||||||
|
|
||||||
|
if is_month:
|
||||||
|
self.month_boss_goto_additional(location=location, has_fleet_step=has_fleet_step, drop=drop)
|
||||||
|
|
||||||
while 1:
|
while 1:
|
||||||
# Update local view
|
# Update local view
|
||||||
# Not screenshots taking, reuse the old one
|
# Not screenshots taking, reuse the old one
|
||||||
|
|||||||
Reference in New Issue
Block a user