1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 09:07:25 +08:00

rename DifficultStrains for clarity

This commit is contained in:
Jay Lawton 2024-11-07 21:56:42 +10:00
parent 2b6a473164
commit 7c3a3c4d10
2 changed files with 3 additions and 3 deletions

View File

@ -48,8 +48,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
double sliderFactor = aimRating > 0 ? aimRatingNoSliders / aimRating : 1;
double aimDifficultyStrainCount = ((OsuStrainSkill)skills[0]).CountDifficultStrains();
double speedDifficultyStrainCount = ((OsuStrainSkill)skills[2]).CountDifficultStrains();
double aimDifficultyStrainCount = ((OsuStrainSkill)skills[0]).CountTopWeightedStrains();
double speedDifficultyStrainCount = ((OsuStrainSkill)skills[2]).CountTopWeightedStrains();
if (mods.Any(m => m is OsuModTouchDevice))
{

View File

@ -68,7 +68,7 @@ namespace osu.Game.Rulesets.Difficulty.Skills
/// 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.
/// </summary>
public virtual double CountDifficultStrains()
public virtual double CountTopWeightedStrains()
{
if (ObjectStrains.Count == 0)
return 0.0;