1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 14:33:01 +08:00

slight edits

This commit is contained in:
Akash Mozumdar 2017-08-31 04:44:00 -04:00
parent cbc35e0cf3
commit af2f45a980

View File

@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
}
float beatmapHp = 0;
float beatmapHp;
protected override void ComputeTargets(Game.Beatmaps.Beatmap<OsuHitObject> beatmap)
{
@ -78,6 +78,10 @@ namespace osu.Game.Rulesets.Osu.Scoring
Health.Value += (4 - beatmapHp) * 0.02;
break;
case OsuScoreResult.SliderTick:
Health.Value += System.Math.Max(7 - beatmapHp, 0) * 0.01;
break;
case OsuScoreResult.Miss:
Health.Value -= beatmapHp * 0.04;
break;