mirror of https://github.com/ppy/osu
Match HP drain harshness closer to stable
Based on number of misses before fail on two arbitrary tests. Obviously not final, just making the game more playable for the time being.
This commit is contained in:
parent
fbe8641ec4
commit
04f5563238
|
@ -68,6 +68,8 @@ public override void PopulateScore(Score score)
|
|||
score.Statistics[HitResult.Miss] = scoreResultCounts.GetOrDefault(HitResult.Miss);
|
||||
}
|
||||
|
||||
private const double harshness = 0.01;
|
||||
|
||||
protected override void OnNewJudgement(Judgement judgement)
|
||||
{
|
||||
base.OnNewJudgement(judgement);
|
||||
|
@ -83,15 +85,15 @@ protected override void OnNewJudgement(Judgement judgement)
|
|||
switch (judgement.Result)
|
||||
{
|
||||
case HitResult.Great:
|
||||
Health.Value += (10.2 - hpDrainRate) * 0.02;
|
||||
Health.Value += (10.2 - hpDrainRate) * harshness;
|
||||
break;
|
||||
|
||||
case HitResult.Good:
|
||||
Health.Value += (8 - hpDrainRate) * 0.02;
|
||||
Health.Value += (8 - hpDrainRate) * harshness;
|
||||
break;
|
||||
|
||||
case HitResult.Meh:
|
||||
Health.Value += (4 - hpDrainRate) * 0.02;
|
||||
Health.Value += (4 - hpDrainRate) * harshness;
|
||||
break;
|
||||
|
||||
/*case HitResult.SliderTick:
|
||||
|
@ -99,7 +101,7 @@ protected override void OnNewJudgement(Judgement judgement)
|
|||
break;*/
|
||||
|
||||
case HitResult.Miss:
|
||||
Health.Value -= hpDrainRate * 0.04;
|
||||
Health.Value -= hpDrainRate * (harshness * 2);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue