Upd: _position_match_special

This commit is contained in:
LmeSzinc 2024-03-27 19:40:55 +08:00
parent 757b137cb2
commit b6d022866f
2 changed files with 8 additions and 1 deletions

View File

@ -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)
# 医域-战斗 # 医域-战斗

View File

@ -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',