mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
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 @@ namespace osu.Game.Rulesets.Osu.Judgements
|
||||
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 @@ namespace osu.Game.Rulesets.Scoring
|
||||
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
Block a user