From 6f4f2d2ed73ad1d57a3d46355091b9a112c956b6 Mon Sep 17 00:00:00 2001 From: whoamikyo Date: Sat, 15 Aug 2020 09:38:10 -0300 Subject: [PATCH] Fix: changed detection backend to homography in SP - Aurora Noctis event --- campaign/event_20200723_cn/sp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/campaign/event_20200723_cn/sp.py b/campaign/event_20200723_cn/sp.py index e523145c8..27e34982f 100644 --- a/campaign/event_20200723_cn/sp.py +++ b/campaign/event_20200723_cn/sp.py @@ -66,6 +66,8 @@ class Config: # MAP_HAS_MAP_STORY = True MAP_SIREN_COUNT = 3 STAR_REQUIRE_3 = 0 # SP map don't need to clear all enemies. + DETECTION_BACKEND = 'homography' + HOMO_STORAGE = ((10, 6), [(172.714, 96.467), (1291.455, 96.467), (27.369, 639.803), (1491.921, 639.803)]) HOMO_EDGE_HOUGHLINES_THRESHOLD = 280 MAP_SIREN_TEMPLATE = ['Deutschland', 'Tirpitz', 'Gneisenau', 'Scharnhorst', 'Spee'] @@ -94,4 +96,4 @@ class Campaign(CampaignBase): return self.battle_default() def battle_7(self): - return self.fleet_boss.clear_boss() + return self.fleet_1.clear_boss()