提交roll日创建

This commit is contained in:
2026-07-19 12:18:22 +08:00
parent 55fdf24f3a
commit 11a9de516f
@@ -152,12 +152,9 @@ public class RandomUtils {
+ NET_NAME_NOUN[random.nextInt(NET_NAME_NOUN.length)];
break;
}
// 约 40% 概率追加装饰符号或数字后缀,更贴近真实网名
int decorType = random.nextInt(5);
if (decorType == 0) {
// 约 20% 概率追加装饰符号,更贴近真实网名(不追加数字后缀)
if (random.nextInt(5) == 0) {
name += NET_NAME_DECOR[random.nextInt(NET_NAME_DECOR.length)];
} else if (decorType == 1) {
name += random.nextInt(100);
}
return name;
}