GetDifficultyInfo

From Wowpedia
Jump to: navigation, search

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

Patch changes