Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about a difficulty.
name, groupType, isHeroic, isChallengeMode, displayHeroic, displayMythic, toggleDifficultyID = GetDifficultyInfo(id)
Arguments[]
- id
- number - difficulty ID to query, ascending from 1.
Returns[]
- name
- string - Difficulty name, e.g. "10 Player (Heroic)"
- groupType
- string - Group type appropriate for this difficulty; "party" or "raid".
- isHeroic
- boolean - true if this is a heroic difficulty, false otherwise.
- isChallengeMode
- boolean - true if this is challenge mode difficulty, false otherwise.
- displayHeroic
- boolean - display the Heroic skull icon on the instance banner of the minimap
- displayMythic
- boolean - display the Mythic skull icon on the instance banner of the minimap
- toggleDifficultyID
- number - difficulty ID of the corresponding heroic/non-heroic difficulty for 10/25-man raids, if one exists.
See also[]
- DifficultyID (a list of possible difficultyIDs)
- SetDungeonDifficultyID
- GetInstanceInfo
- GetRaidDifficultyID
Patch changes[]
Patch 6.0.2 (2014-10-14): Now returns displayHeroic and displayMythic.
Patch 5.2.0 (2013-03-05): Added.