diff --git a/metadata/scripts/metadatas.py b/metadata/scripts/metadatas.py index e6650d0..c9e2661 100644 --- a/metadata/scripts/metadatas.py +++ b/metadata/scripts/metadatas.py @@ -9,8 +9,8 @@ from utils.const import AMBR_HOST, PROJECT_ROOT from utils.log import logger __all__ = ["update_metadata_from_ambr", "update_metadata_from_github", "make_github_fast"] -RESOURCE_REPO = "tamilpp25/Grasscutter_Resources" -RESOURCE_BRANCH = "3.2" +RESOURCE_REPO = "RTPaimon/Grasscutter_Resources" +RESOURCE_BRANCH = "3.3" RESOURCE_ROOT = "Resources" RESOURCE_DEFAULT_PATH = f"{RESOURCE_REPO}/{RESOURCE_BRANCH}/{RESOURCE_ROOT}/" diff --git a/plugins/genshin/avatar_list.py b/plugins/genshin/avatar_list.py index 0d6bd08..0b73ffa 100644 --- a/plugins/genshin/avatar_list.py +++ b/plugins/genshin/avatar_list.py @@ -161,7 +161,7 @@ class AvatarListPlugin(Plugin, BasePlugin): choices = ArkoWrapper(characters).sort(lambda x: x.friendship, reverse=True) name_card_choices = ( # 找到与角色对应的满好感名片ID ArkoWrapper(choices) - .map(lambda x: next(filter(lambda y: y["name"].split(".")[0] == x.name, NAMECARD_DATA.values()), None)) + .map(lambda x: next(filter(lambda y: y["name"].split("·")[0] == x.name, NAMECARD_DATA.values()), None)) .filter(lambda x: x) .map(lambda x: x["id"]) )