Skip to content

Commit 828dbe6

Browse files
committed
fix: UgcGenerator.UCode 补充 HXD/SXD/SXC/SLC 映射
实际 C2S ULTIMA 谱面 (_04.c2s) 包含这些 EX 类型,UGC 无对应码,映射为基础类型
1 parent 91a0455 commit 828dbe6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

generator/chu/UgcGenerator.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ private static string UCode(ChuNote n)
112112
{
113113
"TAP" => $"t{c}{w}",
114114
"CHR" => $"x{c}{w}{n.Extra}",
115-
"HLD" => $"h{c}{w}",
116-
"SLD" => $"s{c}{w}",
115+
"HLD" or "HXD" => $"h{c}{w}",
116+
"SLD" or "SXD" => $"s{c}{w}",
117+
"SLC" or "SXC" => $"s{c}{w}",
117118
"FLK" => $"f{c}{w}A",
118119
"MNE" => $"d{c}{w}",
119120
"AIR" => $"a{c}{w}UC{n.TargetNote}",

0 commit comments

Comments
 (0)