mirror of https://github.com/ppy/osu
Tweak drain values
This commit is contained in:
parent
522847987b
commit
90a0569660
|
@ -8,6 +8,11 @@ namespace osu.Game.Rulesets.Osu.Judgements
|
|||
{
|
||||
public class OsuJudgement : Judgement
|
||||
{
|
||||
/// <summary>
|
||||
/// The health increase for a maximum judgement result.
|
||||
/// </summary>
|
||||
protected const double MAX_HEALTH_INCREASE = 0.05;
|
||||
|
||||
public override HitResult MaxResult => HitResult.Great;
|
||||
|
||||
protected override int NumericResultFor(HitResult result)
|
||||
|
@ -33,12 +38,16 @@ protected override double HealthIncreaseFor(HitResult result)
|
|||
switch (result)
|
||||
{
|
||||
case HitResult.Miss:
|
||||
return -0.02;
|
||||
return -MAX_HEALTH_INCREASE;
|
||||
|
||||
case HitResult.Meh:
|
||||
return -MAX_HEALTH_INCREASE * 0.05;
|
||||
|
||||
case HitResult.Good:
|
||||
return MAX_HEALTH_INCREASE * 0.3;
|
||||
|
||||
case HitResult.Great:
|
||||
return 0.01;
|
||||
return MAX_HEALTH_INCREASE;
|
||||
|
||||
default:
|
||||
return 0;
|
||||
|
|
|
@ -57,7 +57,7 @@ public override void ApplyBeatmap(IBeatmap beatmap)
|
|||
this.beatmap = beatmap;
|
||||
|
||||
healthIncreases = new List<(double time, double health)>();
|
||||
targetMinimumHealth = BeatmapDifficulty.DifficultyRange(beatmap.BeatmapInfo.BaseDifficulty.DrainRate, 0.95, 0.6, 0.2);
|
||||
targetMinimumHealth = BeatmapDifficulty.DifficultyRange(beatmap.BeatmapInfo.BaseDifficulty.DrainRate, 0.95, 0.70, 0.30);
|
||||
|
||||
base.ApplyBeatmap(beatmap);
|
||||
|
||||
|
|
Loading…
Reference in New Issue