From 42bda736c07321a7e28c815614de2cdf5bd090f9 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Mon, 2 Sep 2024 23:40:38 +0800 Subject: [PATCH] Fix: Goto B8 using boss fleet (fixed #4127) --- campaign/event_20240815_cn/b2.py | 4 ++-- campaign/event_20240815_cn/d2.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/campaign/event_20240815_cn/b2.py b/campaign/event_20240815_cn/b2.py index 4f1e563c4..b6a690c64 100644 --- a/campaign/event_20240815_cn/b2.py +++ b/campaign/event_20240815_cn/b2.py @@ -85,8 +85,8 @@ class Campaign(CampaignBase): # Handle giant boss at A8 logger.info('B2 before boss') grid = SelectedGrids([B6, C7]).sort('weight', 'cost')[0] - self.goto(grid) - self.goto(B8) + self.fleet_boss.goto(grid) + self.fleet_boss.goto(B8) def clear_boss(self): self.before_boss() diff --git a/campaign/event_20240815_cn/d2.py b/campaign/event_20240815_cn/d2.py index 5fac5e519..efa7e7ab1 100644 --- a/campaign/event_20240815_cn/d2.py +++ b/campaign/event_20240815_cn/d2.py @@ -94,8 +94,8 @@ class Campaign(CampaignBase): # Handle giant boss at A8 logger.info('B2 before boss') grid = SelectedGrids([B6, C7]).sort('weight', 'cost')[0] - self.goto(grid) - self.goto(B8) + self.fleet_boss.goto(grid) + self.fleet_boss.goto(B8) def clear_boss(self): self.before_boss()