diff --git a/LittlePaimon/database/models/character.py b/LittlePaimon/database/models/character.py index 8d23817..c9bdcc2 100644 --- a/LittlePaimon/database/models/character.py +++ b/LittlePaimon/database/models/character.py @@ -313,7 +313,7 @@ class Character(Model): traveler_skill = role_skill_map['Name'][list(data['skillLevelMap'].keys())[-1]] find_element = re.search(r'[风雷岩草流火冰]', traveler_skill).group() character.element = find_element if find_element != "流" else "水" - role_name = find_element + '主' + role_name = character.element + '主' else: character.region = role_datas_map[name]['region'] character.rarity = role_datas_map[name]['star']