mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 18:05:26 +00:00
Upd: _position_match_special
This commit is contained in:
parent
757b137cb2
commit
b6d022866f
@ -40,6 +40,8 @@ class OcrPlaneName(OcrWhiteLetterOnComplexBackground):
|
|||||||
result = re.sub(r'区域.*战$', '区域战斗', result)
|
result = re.sub(r'区域.*战$', '区域战斗', result)
|
||||||
# 区域-事
|
# 区域-事
|
||||||
result = re.sub(r'区域.*事$', '区域事件', result)
|
result = re.sub(r'区域.*事$', '区域事件', result)
|
||||||
|
# 区域-战
|
||||||
|
result = re.sub(r'区域.*交$', '区域交易', result)
|
||||||
# 区域-事伴, 区域-事祥
|
# 区域-事伴, 区域-事祥
|
||||||
result = re.sub(r'事[伴祥]', '事件', result)
|
result = re.sub(r'事[伴祥]', '事件', result)
|
||||||
# 医域-战斗
|
# 医域-战斗
|
||||||
|
@ -165,7 +165,12 @@ class RouteLoader(RogueUI, MinimapWrapper, RouteLoader_, CharacterSwitch):
|
|||||||
# return True
|
# return True
|
||||||
|
|
||||||
# Before Combat_Luofu_Cloudford_F1_X281Y873
|
# Before Combat_Luofu_Cloudford_F1_X281Y873
|
||||||
if route.name == [
|
if route.name in [
|
||||||
|
'Occurrence_Jarilo_BackwaterPass_F1_X553Y643',
|
||||||
|
'Combat_Jarilo_GreatMine_F1_X545Y513',
|
||||||
|
] and similarity > 0.20:
|
||||||
|
return True
|
||||||
|
if route.name in [
|
||||||
'Combat_Herta_StorageZone_F1_X273Y92',
|
'Combat_Herta_StorageZone_F1_X273Y92',
|
||||||
'Occurrence_Herta_StorageZone_F1_X273Y93',
|
'Occurrence_Herta_StorageZone_F1_X273Y93',
|
||||||
'Occurrence_Jarilo_RivetTown_F1_X289Y97',
|
'Occurrence_Jarilo_RivetTown_F1_X289Y97',
|
||||||
|
Loading…
Reference in New Issue
Block a user