Adjust base value

This commit is contained in:
smoogipoo
2018-12-18 09:49:54 +09:00
parent d74652a4f7
commit 47721f7a07
2 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
/// </summary>
public abstract class Skill
{
protected const double SINGLE_SPACING_THRESHOLD = 125;
protected const double STREAM_SPACING_THRESHOLD = 110;
/// <summary>
/// Strain values are multiplied by this number for the given skill. Used to balance the value of different skills between each other.
/// </summary>

View File

@ -14,12 +14,10 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
protected override double SkillMultiplier => 1400;
protected override double StrainDecayBase => 0.3;
private const double single_spacing_threshold = 125;
protected override double StrainValueOf(OsuDifficultyHitObject current)
{
double distance = current.TravelDistance + current.JumpDistance;
return (1 + Math.Pow(distance / single_spacing_threshold, 4)) / current.StrainTime;
return (0.95 + Math.Pow(distance / SINGLE_SPACING_THRESHOLD, 4)) / current.StrainTime;
}
}
}