From 3168653fa2973a8be9e8d90531afd92e8a435d68 Mon Sep 17 00:00:00 2001 From: ArecaSapling <115386623+sui-feng-cb@users.noreply.github.com> Date: Sun, 21 Jun 2026 20:12:28 +0800 Subject: [PATCH 1/4] Fix: use fleet_show_index for handle_strategy (#5745) --- module/map/fleet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/map/fleet.py b/module/map/fleet.py index 8999e5bcc..249f61e20 100644 --- a/module/map/fleet.py +++ b/module/map/fleet.py @@ -102,7 +102,7 @@ class Fleet(Camera, AmbushHandler): self.show_fleet() self.hp_get() self.lv_get() - self.handle_strategy(index=self.fleet_current_index) + self.handle_strategy(index=self.fleet_show_index) return True else: return False From e762c01929a991596b11f67d17728a41fe0718da Mon Sep 17 00:00:00 2001 From: EmoryLeo Date: Sun, 21 Jun 2026 20:15:37 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E8=BF=9E=E6=8E=A5a=E5=9B=BE=E5=92=8Cb?= =?UTF-8?q?=E5=9B=BE=20(#5743)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将活动图开荒的a1到b3连接起来。因为c图和d图需要选船,不适合连接,所以分开处理 --- module/config/config_manual.py | 2 +- module/handler/fast_forward.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module/config/config_manual.py b/module/config/config_manual.py index d8045f7fc..b9f10fce2 100644 --- a/module/config/config_manual.py +++ b/module/config/config_manual.py @@ -121,7 +121,7 @@ class ManualConfig: MAP_CHAPTER_SWITCH_20241219_SPEX = False # Since event_20241219_cn chapter B unlocks event startup # which means chapter AB are continuous - STAGE_INCREASE_AB = False + STAGE_INCREASE_AB = True # Insert anything to STAGE_INCREASE STAGE_INCREASE_CUSTOM = '' MAP_HAS_CLEAR_PERCENTAGE = True diff --git a/module/handler/fast_forward.py b/module/handler/fast_forward.py index a7b86ea8d..747d411c5 100644 --- a/module/handler/fast_forward.py +++ b/module/handler/fast_forward.py @@ -372,8 +372,7 @@ class FastForwardHandler(AutoSearchHandler): # Insert custom increase logic if self.config.STAGE_INCREASE_AB: stage_increase = [ - 'A1 > A2 > A3 > B1 > B2 > B3', - 'C1 > C2 > C3 > D1 > D2 > D3', + 'A1 > A2 > A3 > B1 > B2 > B3', ] + stage_increase custom = self.config.STAGE_INCREASE_CUSTOM if custom: From 37dad5cf2159b1bf8164da5f65ccc0c7d00b7faf Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Sun, 21 Jun 2026 20:24:41 +0800 Subject: [PATCH 3/4] Fix: goto HT stages in war_archive_20240725_cn --- campaign/war_archives_20240725_cn/campaign_base.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/campaign/war_archives_20240725_cn/campaign_base.py b/campaign/war_archives_20240725_cn/campaign_base.py index 280630ee4..563579a00 100644 --- a/campaign/war_archives_20240725_cn/campaign_base.py +++ b/campaign/war_archives_20240725_cn/campaign_base.py @@ -4,6 +4,12 @@ from ..campaign_war_archives.campaign_base import CampaignBase as CampaignBase_ class CampaignBase(CampaignBase_): def campaign_set_chapter_event(self, chapter, mode='normal'): self.ui_goto_sp() + if chapter in ['a', 'b', 'as', 'bs', 't', 'ts', 'tss']: + self.campaign_ensure_mode('normal') + elif chapter in ['c', 'd', 'cs', 'ds', 'ht', 'hts']: + self.campaign_ensure_mode('hard') + elif chapter == 'ex_sp': + self.campaign_ensure_mode('ex') self.campaign_ensure_chapter(chapter) return True @@ -18,4 +24,6 @@ class CampaignBase(CampaignBase_): if mode == 'hard': self.config.override(Campaign_Mode='hard') - self.campaign_ensure_mode_20241219(mode) + # this event only have chapter T/HT and chapter SP, and war archive does not have SP + # so there is no mode switch buttons + # self.campaign_ensure_mode_20241219(mode) From e3626b750625578b5f320d36ff75a92d4ed49fdc Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Sun, 21 Jun 2026 20:30:31 +0800 Subject: [PATCH 4/4] Fix: handle_in_map_with_enemy_searching() immediately enter submarine combat in W16 (#5740) --- module/handler/enemy_searching.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/handler/enemy_searching.py b/module/handler/enemy_searching.py index 96adc3f31..e3fccd3f7 100644 --- a/module/handler/enemy_searching.py +++ b/module/handler/enemy_searching.py @@ -120,6 +120,10 @@ class EnemySearchingHandler(InfoHandler): # although here expects an enemy searching animation. if self.handle_in_stage(): return True + # immediately enter submarine combat in W16 + if hasattr(self, 'is_combat_loading') and self.is_combat_loading(): + logger.warning('Entered map with is_combat_loading appeared') + break if self.handle_auto_search_exit(drop=drop): timeout.limit = 10 timeout.reset()