mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-23 00:52:22 +00:00
Fix: 优化AB图参数
This commit is contained in:
parent
d75930cda2
commit
ec03efaa67
@ -31,13 +31,13 @@ class Config:
|
||||
TRUST_EDGE_LINES = False
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 235),
|
||||
'height': (100, 255 - 24),
|
||||
'width': 1,
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 80, 255),
|
||||
'height': (255 - 24, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
'wlen': 1000
|
||||
|
@ -36,13 +36,13 @@ class Config:
|
||||
TRUST_EDGE_LINES = False
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 235),
|
||||
'height': (100, 255 - 24),
|
||||
'width': 1,
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 80, 255),
|
||||
'height': (255 - 24, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
'wlen': 1000
|
||||
|
@ -73,7 +73,7 @@ class Campaign(CampaignBase):
|
||||
return True
|
||||
if self.clear_enemy(scale=(1,)):
|
||||
return True
|
||||
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'carrier']):
|
||||
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
|
||||
return True
|
||||
if self.clear_enemy(genre=['light', 'main']):
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user