mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
feat: 肉鸽难度括号里显示一下对应难度
This commit is contained in:
@@ -78,9 +78,9 @@ public class RoguelikeSettingsUserControlModel : TaskViewModel
|
||||
int value = i;
|
||||
var display = value switch
|
||||
{
|
||||
-1 => LocalizationHelper.GetString("NotSwitch"),
|
||||
int.MaxValue => "MAX",
|
||||
0 => "MIN",
|
||||
-1 => LocalizationHelper.GetString("NotSwitch") + " (-1)",
|
||||
int.MaxValue => $"MAX ({maxThemeDifficulty})",
|
||||
0 => "MIN (0)",
|
||||
_ => value.ToString(),
|
||||
};
|
||||
RoguelikeDifficultyList.Add(new() { Display = display, Value = value });
|
||||
|
||||
Reference in New Issue
Block a user