mirror of
https://github.com/ppy/osu-tools.git
synced 2025-06-07 23:07:01 +09:00
add option to pass legacy total score
This commit is contained in:
parent
f690077e2a
commit
f8df9bb4f9
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,10 @@ namespace PerformanceCalculator.Simulate
|
|||
[Option(Template = "-X|--misses <misses>", Description = "Number of misses. Defaults to 0.")]
|
||||
public int Misses { get; }
|
||||
|
||||
[UsedImplicitly]
|
||||
[Option(Template = "-l|--legacy-total-score <score>", Description = "Amount of legacy total score.")]
|
||||
public long? LegacyTotalScore { get; }
|
||||
|
||||
//
|
||||
// Options implemented in the ruleset-specific commands
|
||||
// -> Catch renames Mehs/Goods to (tiny-)droplets
|
||||
|
@ -73,6 +77,7 @@ namespace PerformanceCalculator.Simulate
|
|||
Accuracy = GetAccuracy(beatmap, statistics),
|
||||
MaxCombo = Combo ?? (int)Math.Round(PercentCombo / 100 * beatmapMaxCombo),
|
||||
Statistics = statistics,
|
||||
LegacyTotalScore = LegacyTotalScore,
|
||||
Mods = mods
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue