WoW API: GetInstanceDifficulty

Revision as of 05:32, 9 August 2009 by WoWWiki>Farmbuyer (Separated numbers more clearly, tweaked "details" wording)

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 → 5 or 10 players normal
2 → 5 players heroic / 25 players normal
3 → 10 players heroic
4 → 25 players heroic


Details

Returns 1 if not in an instance.

3.2.0: 3 (epic) removed and added 3-4 for new split between normal/heroic and 10/25