Revert "feat:实现自适应调整连战次数 (#12555)"

This reverts commit 5c9ae13811.

Revert "chore: 新增 AUTO 选项"

This reverts commit 416ce337a2.

Revert "chore: Auto update by pre-commit hooks [skip changelog]"

This reverts commit 0eff8fd57e.

Revert "chore: 连战新增 -1 表示禁用切换"

This reverts commit 58760e9421.
This commit is contained in:
status102
2025-05-06 16:54:49 +08:00
parent 54e2dee6a8
commit d10516c3c2
13 changed files with 132 additions and 313 deletions

View File

@@ -103,17 +103,10 @@ public class FightSettingsUserControlModel : TaskViewModel
{ "炭", "SK-5" },
};
public Dictionary<string, int> SeriesList { get; } = new()
{
{ "AUTO", 1000 },
{ "6", 6 },
{ "5", 5 },
{ "4", 4 },
{ "3", 6 },
{ "2", 2 },
{ "1", 1 },
{ LocalizationHelper.GetString("NotSelected"), -1 },
};
/// <summary>
/// Gets or private sets the list of series.
/// </summary>
public List<int> SeriesList { get; private set; } = Enumerable.Range(1, 6).ToList();
public string?[] Stages => [Stage1, Stage2, Stage3];
@@ -472,7 +465,7 @@ public class FightSettingsUserControlModel : TaskViewModel
}
}
private int _series = ConfigurationHelper.GetValue(ConfigurationKeys.SeriesQuantity, 1000);
private int _series = ConfigurationHelper.GetValue(ConfigurationKeys.SeriesQuantity, 1);
/// <summary>
/// Gets or sets the max number of times.