mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-23 00:52:22 +00:00
Fix: [EN] event map
This commit is contained in:
parent
2609b4a70d
commit
16cc542219
@ -13,6 +13,7 @@ MAP.map_data = '''
|
||||
-- ME -- -- ++ ME -- ME --
|
||||
SP -- -- ME ++ -- ME -- MB
|
||||
'''
|
||||
MAP.camera_data = ['D1', 'D3', 'F1', 'F3']
|
||||
|
||||
class Config:
|
||||
POOR_MAP_DATA = True
|
||||
@ -25,6 +26,12 @@ class Config:
|
||||
|
||||
TRUST_EDGE_LINES = True
|
||||
|
||||
INTERNAL_LINES_HOUGHLINES_THRESHOLD = 40
|
||||
EDGE_LINES_HOUGHLINES_THRESHOLD = 40
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||
MID_DIFF_RANGE_H = (140 - 3, 140 + 3)
|
||||
MID_DIFF_RANGE_V = (143 - 3, 143 + 3)
|
||||
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (80, 255 - 40),
|
||||
'width': (0.9, 10),
|
||||
@ -42,3 +49,8 @@ class Config:
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
|
||||
def handle_boss_appear_refocus(self):
|
||||
if self.battle_count == 4:
|
||||
self.map_swipe((-3, -2))
|
||||
|
||||
return super().handle_boss_appear_refocus()
|
||||
|
@ -74,5 +74,5 @@ class Campaign(CampaignBase):
|
||||
return self.battle_default()
|
||||
|
||||
def battle_5(self):
|
||||
return self.clear_boss()
|
||||
return self.fleet_2.clear_boss()
|
||||
|
||||
|
@ -82,6 +82,6 @@ class Campaign(CampaignBase):
|
||||
return self.battle_default()
|
||||
|
||||
def battle_5(self):
|
||||
return self.clear_boss()
|
||||
return self.fleet_2.clear_boss()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user