mirror of
https://github.com/ppy/osu.git
synced 2024-12-18 03:52:54 +08:00
Fix formatting
This commit is contained in:
parent
af919a6550
commit
2940d18d33
@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
|
|||||||
|
|
||||||
[JsonProperty("effective_miss_count")]
|
[JsonProperty("effective_miss_count")]
|
||||||
public double EffectiveMissCount { get; set; }
|
public double EffectiveMissCount { get; set; }
|
||||||
|
|
||||||
[JsonProperty("estimated_ur")]
|
[JsonProperty("estimated_ur")]
|
||||||
public double EstimatedUR { get; set; }
|
public double EstimatedUR { get; set; }
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
|
|||||||
{
|
{
|
||||||
if (totalHits == 0)
|
if (totalHits == 0)
|
||||||
return double.PositiveInfinity;
|
return double.PositiveInfinity;
|
||||||
|
|
||||||
double greatProbability = 1 - (countOk + countMiss + 1.0) / (totalHits + 1.0);
|
double greatProbability = 1 - (countOk + countMiss + 1.0) / (totalHits + 1.0);
|
||||||
|
|
||||||
if (greatProbability <= 0)
|
if (greatProbability <= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user