击杀阵亡比

This commit is contained in:
2021-10-20 22:40:03 +02:00
parent 0863b2fd71
commit 2a96f8efac
3 changed files with 22 additions and 12 deletions

View File

@@ -112,13 +112,13 @@ namespace AnotherReplayReader
}
return plotter.PlayerLifes[i] < begin
? "玩家已战败"
: $"{v:#.##}";
: $"{v:0.##}";
}
list.Insert(apmIndex, new(DataRow.PartialApmRow,
list.Insert(apmIndex, new(DataRow.PartialApmRow,
instantApms.Select(PartialApmToString)));
}
list.Insert(apmIndex, new(DataRow.AverageApmRow,
avg.Select(v => $"{v:#.##}")));
list.Insert(apmIndex, new(DataRow.AverageApmRow,
avg.Select(v => $"{v:0.##}")));
return (list, data, plotter.ReplayLength, isPartial);
});
@@ -203,7 +203,7 @@ namespace AnotherReplayReader
private int NormalizeResolutionInput(string text)
{
if(!int.TryParse(text, out var value))
if (!int.TryParse(text, out var value))
{
value = (int)PlotResolution.TotalSeconds;
}