From 7bbb5f3122a085ab4218a006399124cc05924d3d Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com> Date: Tue, 16 Jan 2024 23:16:18 +0100 Subject: [PATCH] fix: Replacing strange space characters in ResourceUpdater for JP Recruit fix #8027 --- .../global/YoStarJP/resource/recruitment.json | 59 +++++++++++++++++++ tools/ResourceUpdater/main.cpp | 6 ++ 2 files changed, 65 insertions(+) diff --git a/resource/global/YoStarJP/resource/recruitment.json b/resource/global/YoStarJP/resource/recruitment.json index 43d85bbe43..e51490545e 100644 --- a/resource/global/YoStarJP/resource/recruitment.json +++ b/resource/global/YoStarJP/resource/recruitment.json @@ -620,6 +620,17 @@ "术师干员" ] }, + { + "id": "char_272_strong", + "name": "ジェイ", + "rarity": 4, + "tags": [ + "快速复活", + "输出", + "近战位", + "特种干员" + ] + }, { "id": "char_155_tiger", "name": "インドラ", @@ -1105,6 +1116,42 @@ "近卫干员" ] }, + { + "id": "char_218_cuttle", + "name": "アンドレアナ", + "rarity": 5, + "tags": [ + "输出", + "减速", + "远程位", + "资深干员", + "狙击干员" + ] + }, + { + "id": "char_349_chiave", + "name": "キアーベ", + "rarity": 5, + "tags": [ + "费用回复", + "输出", + "近战位", + "资深干员", + "先锋干员" + ] + }, + { + "id": "char_344_beewax", + "name": "ビーズワクス", + "rarity": 5, + "tags": [ + "群攻", + "防护", + "远程位", + "资深干员", + "术师干员" + ] + }, { "id": "char_103_angel", "name": "エクシア", @@ -1372,6 +1419,18 @@ "高级资深干员", "辅助干员" ] + }, + { + "id": "char_293_thorns", + "name": "ソーンズ", + "rarity": 6, + "tags": [ + "输出", + "防护", + "近战位", + "高级资深干员", + "近卫干员" + ] } ], "tags": { diff --git a/tools/ResourceUpdater/main.cpp b/tools/ResourceUpdater/main.cpp index abe0b0d642..4c26c029f2 100644 --- a/tools/ResourceUpdater/main.cpp +++ b/tools/ResourceUpdater/main.cpp @@ -934,6 +934,12 @@ bool update_recruitment_data(const std::filesystem::path& input_dir, const std:: if (name == "Justice Knight") { name = "'Justice Knight'"; } + if (name == " レオンハルト") { + name = "レオンハルト"; + } + if (name == "ウィーディ ") { + name = "ウィーディ"; + } chars_list.emplace_back(name); } }