WoW API: GetInstanceDifficulty

From AddOn Studio
Revision as of 16:10, 16 May 2007 by WoWWiki>Hobinheim (upgraded code block)
Jump to navigation Jump to search

WoW API < GetInstanceDifficulty

Returns the difficulty for instance you are currently in.

difficulty = GetInstanceDifficulty()

Arguments

None

Result

Returns an integer.

Difficulty:

1 normal
2 heroic
3 epic

Notes

Return 1 if not in an instance.