mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 13:07:24 +08:00
rename DifficultStrains for clarity
This commit is contained in:
parent
2b6a473164
commit
7c3a3c4d10
@ -48,8 +48,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
|||||||
|
|
||||||
double sliderFactor = aimRating > 0 ? aimRatingNoSliders / aimRating : 1;
|
double sliderFactor = aimRating > 0 ? aimRatingNoSliders / aimRating : 1;
|
||||||
|
|
||||||
double aimDifficultyStrainCount = ((OsuStrainSkill)skills[0]).CountDifficultStrains();
|
double aimDifficultyStrainCount = ((OsuStrainSkill)skills[0]).CountTopWeightedStrains();
|
||||||
double speedDifficultyStrainCount = ((OsuStrainSkill)skills[2]).CountDifficultStrains();
|
double speedDifficultyStrainCount = ((OsuStrainSkill)skills[2]).CountTopWeightedStrains();
|
||||||
|
|
||||||
if (mods.Any(m => m is OsuModTouchDevice))
|
if (mods.Any(m => m is OsuModTouchDevice))
|
||||||
{
|
{
|
||||||
|
@ -68,7 +68,7 @@ namespace osu.Game.Rulesets.Difficulty.Skills
|
|||||||
/// Calculates the number of strains weighted against the top strain.
|
/// Calculates the number of strains weighted against the top strain.
|
||||||
/// The result is scaled by clock rate as it affects the total number of strains.
|
/// The result is scaled by clock rate as it affects the total number of strains.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual double CountDifficultStrains()
|
public virtual double CountTopWeightedStrains()
|
||||||
{
|
{
|
||||||
if (ObjectStrains.Count == 0)
|
if (ObjectStrains.Count == 0)
|
||||||
return 0.0;
|
return 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user