mirror of
https://github.com/waynebian01/Shigure.git
synced 2026-09-03 07:15:24 +08:00
改进10
This commit is contained in:
@@ -146,10 +146,10 @@ public static class ClassNames
|
||||
|
||||
[(12, 1, 1)] = "奥达奇收割者",
|
||||
[(12, 1, 2)] = "邪痕枭雄",
|
||||
[(12, 2, 1)] = "歼灭者",
|
||||
[(12, 2, 2)] = "复仇英雄天赋2",
|
||||
[(12, 3, 1)] = "噬灭英雄天赋1",
|
||||
[(12, 3, 2)] = "噬灭英雄天赋2",
|
||||
[(12, 2, 1)] = "奥达奇收割者",
|
||||
[(12, 2, 2)] = "歼灭者",
|
||||
[(12, 3, 1)] = "歼灭者",
|
||||
[(12, 3, 2)] = "虚痕枭雄",
|
||||
|
||||
[(13, 1, 1)] = "塑焰者",
|
||||
[(13, 1, 2)] = "鳞长",
|
||||
|
||||
@@ -26,7 +26,7 @@ public sealed record ConditionField(
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从 config.json 构建可在条件编辑器中选择的字段目录。
|
||||
/// 从 config 目录构建可在条件编辑器中选择的字段目录。
|
||||
/// 字段按模块当前选中的职业/专精过滤;group 队伍字段暂不收录。
|
||||
/// </summary>
|
||||
public sealed class ConditionFieldCatalog
|
||||
@@ -42,8 +42,7 @@ public sealed class ConditionFieldCatalog
|
||||
{
|
||||
try
|
||||
{
|
||||
var configPath = Path.Combine(baseDirectory, "config.json");
|
||||
return new ConditionFieldCatalog(new ConfigService(configPath));
|
||||
return new ConditionFieldCatalog(ConfigService.LoadFromBaseDirectory(baseDirectory));
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user