WoW API: GetInstanceDifficulty

From AddOn Studio
Revision as of 19:19, 25 June 2007 by WoWWiki>Ravas (Updated to match the current API boilerplate.)
Jump to navigation Jump to search

WoW API < GetInstanceDifficulty

Returns the difficulty for instance you are currently in.

difficulty = GetInstanceDifficulty()

Arguments

None


Returns

difficulty
Number - The difficulty of the instance
1 normal
2 heroic
3 epic


Details

Return 1 if not in an instance.