WoW:API GetInstanceDifficulty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (added code)
(upgraded code block)
Line 3: Line 3:


Returns the difficulty for instance you are currently in.
Returns the difficulty for instance you are currently in.
{{Code/Begin}}
difficulty = GetInstanceDifficulty()
difficulty = GetInstanceDifficulty()
{{Code/End}}


==Arguments==
==Arguments==

Revision as of 16:10, 16 May 2007

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.