diff --git a/assets/character/BlackSwan.png b/assets/character/BlackSwan.png new file mode 100644 index 000000000..05778533c Binary files /dev/null and b/assets/character/BlackSwan.png differ diff --git a/assets/character/Misha.png b/assets/character/Misha.png new file mode 100644 index 000000000..d12010ad1 Binary files /dev/null and b/assets/character/Misha.png differ diff --git a/dev_tools/keyword_extract.py b/dev_tools/keyword_extract.py index a28fc07d6..64e1191a1 100644 --- a/dev_tools/keyword_extract.py +++ b/dev_tools/keyword_extract.py @@ -123,6 +123,7 @@ def replace_templates(text: str) -> str: text = re.sub(r'#4', '1', text) text = re.sub(r'', '', text) text = re.sub(r'', '', text) + text = re.sub(r'{.*?}', '', text) return text @@ -388,7 +389,7 @@ class KeywordExtract: gen.ObjectAttr(key='name', value=name) for lang in UI_LANGUAGES: character_names = ' / '.join([ - self.find_keyword(c[0], lang)[1] + replace_templates(self.find_keyword(c[0], lang)[1]) for c in characters ]) damage_type = self.find_keyword(characters[0][1], lang)[1] diff --git a/module/config/config_updater.py b/module/config/config_updater.py index d23cb8e28..3267a1baa 100644 --- a/module/config/config_updater.py +++ b/module/config/config_updater.py @@ -92,7 +92,7 @@ class ConfigGenerator: options=[dungeon.name for dungeon in DungeonList.instances.values() if dungeon.is_Echo_of_War]) # Insert characters from tasks.character.keywords import CharacterList - unsupported_characters = [] + unsupported_characters = ['Sparkle'] characters = [character.name for character in CharacterList.instances.values() if character.name not in unsupported_characters] option_add(keys='DungeonSupport.Character.option', options=characters)