GetDifficultyInfo
Jump to navigation
Jump to search
Returns information about a difficulty.
name, groupType, isHeroic, isChallengeMode, displayHeroic, displayMythic, toggleDifficultyID, isLFR, minPlayers, maxPlayers = 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.
- isLFR
- boolean - true if this is looking for raid difficulty, false otherwise.
- minPlayers
- number - minimum players needed.
- maxPlayers
- number - maximum players allowed.
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.