2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-06-06 05:45:22 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using System;
|
2017-06-07 00:59:46 +08:00
|
|
|
|
using osu.Game.Rulesets.Osu.OsuDifficulty.Preprocessing;
|
2017-06-06 05:45:22 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.OsuDifficulty.Skills
|
|
|
|
|
{
|
2017-06-08 02:29:03 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents the skill required to correctly aim at every object in the map with a uniform CircleSize and normalized distances.
|
|
|
|
|
/// </summary>
|
2017-06-06 05:45:22 +08:00
|
|
|
|
public class Aim : Skill
|
|
|
|
|
{
|
2017-06-06 07:08:34 +08:00
|
|
|
|
protected override double SkillMultiplier => 26.25;
|
|
|
|
|
protected override double StrainDecayBase => 0.15;
|
2017-06-06 05:45:22 +08:00
|
|
|
|
|
2017-06-07 00:59:46 +08:00
|
|
|
|
protected override double StrainValueOf(OsuDifficultyHitObject current) => Math.Pow(current.Distance, 0.99) / current.DeltaTime;
|
2017-06-06 05:45:22 +08:00
|
|
|
|
}
|
2017-06-06 06:07:00 +08:00
|
|
|
|
}
|