Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StandardDifficultyAttributes

Hierarchy

  • DifficultyAttributes
    • StandardDifficultyAttributes

Index

Constructors

  • Creates new difficulty attributes.

    Parameters

    • mods: ModCombination

      The mods which were applied to the beatmap.

    • starRating: number

      The combined star rating of all skills.

    Returns StandardDifficultyAttributes

Properties

aimDifficulty: number = 0

The difficulty corresponding to the aim skill.

approachRate: number = 0

The perceived approach rate inclusive of rate-adjusting mods (DT/HT/etc). Rate-adjusting mods don't directly affect the approach rate difficulty value, but have a perceived effect as a result of adjusting audio timing.

drainRate: number = 0

The beatmap's drain rate. This doesn't scale with rate-adjusting mods.

flashlightDifficulty: number = 0

The difficulty corresponding to the flashlight skill.

hitCircleCount: number = 0

The number of hitcircles in the beatmap.

overallDifficulty: number = 0

The perceived overall difficulty inclusive of rate-adjusting mods (DT/HT/etc). Rate-adjusting mods don't directly affect the overall difficulty value, but have a perceived effect as a result of adjusting audio timing.

sliderCount: number = 0

The number of sliders in the beatmap.

sliderFactor: number = 0

Describes how much of aimDifficulty is contributed to by hitcircles or sliders. A value closer to 1.0 indicates most of aimDifficulty is contributed by hitcircles. A value closer to 0.0 indicates most of aimDifficulty is contributed by sliders.

speedDifficulty: number = 0

The difficulty corresponding to the speed skill.

speedNoteCount: number = 0

The number of clickable objects weighted by difficulty. Related to speedDifficulty.

spinnerCount: number = 0

The number of spinners in the beatmap.