mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 06:27:24 +09:00
enforce precision for ModDifficultyAdjust and derived classes
This commit is contained in:
parent
63e9b2a299
commit
67667b3d22
@ -36,8 +36,8 @@ namespace osu.Game.Rulesets.Catch.Mods
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
string circleSize = CircleSize.IsDefault ? string.Empty : $"CS {CircleSize.Value}";
|
string circleSize = CircleSize.IsDefault ? string.Empty : $"CS {CircleSize.Value:0.#}";
|
||||||
string approachRate = ApproachRate.IsDefault ? string.Empty : $"AR {ApproachRate.Value}";
|
string approachRate = ApproachRate.IsDefault ? string.Empty : $"AR {ApproachRate.Value:0.#}";
|
||||||
|
|
||||||
return string.Join(", ", new[]
|
return string.Join(", ", new[]
|
||||||
{
|
{
|
||||||
|
@ -36,8 +36,8 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
string circleSize = CircleSize.IsDefault ? string.Empty : $"CS {CircleSize.Value}";
|
string circleSize = CircleSize.IsDefault ? string.Empty : $"CS {CircleSize.Value:0.#}";
|
||||||
string approachRate = ApproachRate.IsDefault ? string.Empty : $"AR {ApproachRate.Value}";
|
string approachRate = ApproachRate.IsDefault ? string.Empty : $"AR {ApproachRate.Value:0.#}";
|
||||||
|
|
||||||
return string.Join(", ", new[]
|
return string.Join(", ", new[]
|
||||||
{
|
{
|
||||||
|
@ -57,8 +57,8 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
string drainRate = DrainRate.IsDefault ? string.Empty : $"HP {DrainRate.Value}";
|
string drainRate = DrainRate.IsDefault ? string.Empty : $"HP {DrainRate.Value:0.#}";
|
||||||
string overallDifficulty = OverallDifficulty.IsDefault ? string.Empty : $"OD {OverallDifficulty.Value}";
|
string overallDifficulty = OverallDifficulty.IsDefault ? string.Empty : $"OD {OverallDifficulty.Value:0.#}";
|
||||||
|
|
||||||
return string.Join(", ", new[]
|
return string.Join(", ", new[]
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user