Fix: Special match FuXuan's name handling random OCR error

This commit is contained in:
LmeSzinc 2024-04-08 22:35:00 +08:00
parent 655d3a64dc
commit 5473d74af9
3 changed files with 12 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -3,6 +3,16 @@ from module.base.button import Button, ButtonWrapper
# This file was auto-generated, do not modify it manually. To generate:
# ``` python -m dev_tools.button_extract ```
FuXuan = ButtonWrapper(
name='FuXuan',
share=Button(
file='./assets/share/character/switch/FuXuan.png',
area=(1180, 236, 1198, 254),
search=(1160, 216, 1218, 274),
color=(225, 186, 192),
button=(1180, 236, 1198, 254),
),
)
Huohuo = ButtonWrapper(
name='Huohuo',
share=Button(

View File

@ -97,9 +97,8 @@ class CharacterSwitch(UI):
TrailblazerPreservationFemale,
],
KEYWORDS_CHARACTER_LIST.Huohuo: [
Huohuo,
],
KEYWORDS_CHARACTER_LIST.Huohuo: [Huohuo],
KEYWORDS_CHARACTER_LIST.FuXuan: [FuXuan],
}
for character, templates in dict_template.items():
for template in templates: