WoW:API GetInstanceDifficulty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (stub and tag)
m (added code)
Line 1: Line 1:
{{stub/API}}
{{stub/API}}
{{wowapi}}
{{wowapi}}
Returns the difficulty for instance you are currently in.
{{Code/Begin}}
difficulty = GetInstanceDifficulty()
{{Code/End}}
==Arguments==
==Arguments==
None
None

Revision as of 10:21, 15 March 2007

WoW API < GetInstanceDifficulty

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

Arguments

None

Result

Returns an integer.

Difficulty:

1 normal
2 heroic
3 epic

Notes

Return 1 if not in an instance.