mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Opt: Faster story handling in event maps
- Del: Remove the use of handle_map_after_combat_story - Opt: Skip checking arrive_timer when having a result - Fix: Map detection is still working on story popup
This commit is contained in:
@@ -404,7 +404,7 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
break
|
||||
if expected_end == 'with_searching' and self.handle_in_map_with_enemy_searching(drop=drop):
|
||||
break
|
||||
if expected_end == 'no_searching' and self.handle_in_map_no_enemy_searching():
|
||||
if expected_end == 'no_searching' and self.handle_in_map_no_enemy_searching(drop=drop):
|
||||
break
|
||||
if expected_end == 'in_ui' and self.appear(BACK_ARROW, offset=(20, 20)):
|
||||
break
|
||||
@@ -487,6 +487,6 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
auto=auto_mode, submarine=submarine_mode, drop=drop)
|
||||
self.combat_status(
|
||||
drop=drop, expected_end=expected_end)
|
||||
self.handle_map_after_combat_story()
|
||||
# self.handle_map_after_combat_story()
|
||||
|
||||
logger.info('Combat end.')
|
||||
|
||||
Reference in New Issue
Block a user