1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Remove health from ScoreInfo

This commit is contained in:
Dean Herbert 2018-12-01 00:17:05 +09:00
parent af3ef9a089
commit f9fb6dc39b
3 changed files with 0 additions and 6 deletions

View File

@ -38,7 +38,6 @@ namespace osu.Game.Tests.Scores.IO
Rank = ScoreRank.B,
TotalScore = 987654,
Accuracy = 0.8,
Health = 0.8,
MaxCombo = 500,
Combo = 250,
User = new User { Username = "Test user" },
@ -51,7 +50,6 @@ namespace osu.Game.Tests.Scores.IO
Assert.AreEqual(toImport.Rank, imported.Rank);
Assert.AreEqual(toImport.TotalScore, imported.TotalScore);
Assert.AreEqual(toImport.Accuracy, imported.Accuracy);
Assert.AreEqual(toImport.Health, imported.Health);
Assert.AreEqual(toImport.MaxCombo, imported.MaxCombo);
Assert.AreEqual(toImport.Combo, imported.Combo);
Assert.AreEqual(toImport.User.Username, imported.User.Username);

View File

@ -166,7 +166,6 @@ namespace osu.Game.Rulesets.Scoring
score.Accuracy = Math.Round(Accuracy, 4);
score.Rank = Rank;
score.Date = DateTimeOffset.Now;
score.Health = Health;
}
}

View File

@ -26,9 +26,6 @@ namespace osu.Game.Scoring
[Column(TypeName="DECIMAL(1,4)")]
public double Accuracy { get; set; }
[NotMapped]
public double Health { get; set; } = 1;
public double? PP { get; set; }
public int MaxCombo { get; set; }