mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Tweak drain values
This commit is contained in:
@ -8,6 +8,11 @@ namespace osu.Game.Rulesets.Osu.Judgements
|
|||||||
{
|
{
|
||||||
public class OsuJudgement : Judgement
|
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;
|
public override HitResult MaxResult => HitResult.Great;
|
||||||
|
|
||||||
protected override int NumericResultFor(HitResult result)
|
protected override int NumericResultFor(HitResult result)
|
||||||
@ -33,12 +38,16 @@ namespace osu.Game.Rulesets.Osu.Judgements
|
|||||||
switch (result)
|
switch (result)
|
||||||
{
|
{
|
||||||
case HitResult.Miss:
|
case HitResult.Miss:
|
||||||
return -0.02;
|
return -MAX_HEALTH_INCREASE;
|
||||||
|
|
||||||
case HitResult.Meh:
|
case HitResult.Meh:
|
||||||
|
return -MAX_HEALTH_INCREASE * 0.05;
|
||||||
|
|
||||||
case HitResult.Good:
|
case HitResult.Good:
|
||||||
|
return MAX_HEALTH_INCREASE * 0.3;
|
||||||
|
|
||||||
case HitResult.Great:
|
case HitResult.Great:
|
||||||
return 0.01;
|
return MAX_HEALTH_INCREASE;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
this.beatmap = beatmap;
|
this.beatmap = beatmap;
|
||||||
|
|
||||||
healthIncreases = new List<(double time, double health)>();
|
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);
|
base.ApplyBeatmap(beatmap);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user