WoW:API GetInstanceDifficulty: Difference between revisions

m
Move page script moved page API GetInstanceDifficulty to WoW:API GetInstanceDifficulty without leaving a redirect
(upgraded code block)
m (Move page script moved page API GetInstanceDifficulty to WoW:API GetInstanceDifficulty without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{stub/API}}
{{wowapi}} __NOTOC__
{{wowapi}}


Returns the difficulty for instance you are currently in.
Returns the difficulty for instance you are currently in.
  difficulty = GetInstanceDifficulty()
  difficulty = GetInstanceDifficulty()


==Arguments==
== Arguments ==
None
None


===Result===
Returns an integer.


Difficulty:
== Returns ==
1 normal
:; difficulty : Number - The difficulty of the instance
2 heroic
:;: '''1''' → 5 or 10 players normal (also 40 player raids)
3 epic
:;: '''2''' → 5 players heroic / 25 players normal
:;: '''3''' → 10 players heroic
:;: '''4''' → 25 players heroic


===Notes===
 
Return 1 if not in an instance.
== 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
Anonymous user