Dschiggs@legacy41536957 (talk | contribs) |
Dschiggs@legacy41536957 (talk | contribs) |
||
Line 9: | Line 9: | ||
== Returns == |
== Returns == |
||
− | Values have changed with 5.0.4. The values below might not be correct |
||
− | :; difficulty : Number - The difficulty of the instance |
||
− | :: '''1''' → 5 or 10 players normal (also 40 player raids) |
||
− | :: '''2''' → 5 players heroic / 25 players normal |
||
− | :: '''3''' → 10 players heroic |
||
− | :: '''4''' → 25 players heroic |
||
− | |||
− | ------------------ |
||
− | New values since 5.0.4 |
||
:: '''1''' → not in an instance |
:: '''1''' → not in an instance |
Revision as of 23:39, 30 August 2012
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the difficulty for instance you are currently in.
difficulty = GetInstanceDifficulty()
Arguments
None
Returns
- 1 → not in an instance
- 2 → 5 players normal
- 3 → 5 players heroic
- 4 → 10 players normal
- 5 → 25 players normal
- 6 → 10 players heroic
- 7 → 25 players heroic
- 8 → LFR
- 9 → ????? (Challenge mode maybe?)
- 10 → 40 players
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
5.0.4: Changed return values