Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetInstanceDifficulty

Last wiki revision 2019-02-10

Returns the difficulty of the instance the player is currently in. difficultyIndex = GetInstanceDifficulty

  • difficultyIndex : Number
  • 1 → None
  • 2 → 5 Player & Scenario
  • 3 → 5 Player (Heroic)
  • 4 → 10 Player
  • 5 → 25 Player
  • 6 → 10 Player (Heroic)
  • 7 → 25 Player (Heroic)
  • 8 → Raid Finder
  • 9 → Challenge Mode
  • 10 → 40 Player
  • Returns 1 if the player is not currently in an instance. Also returns 1 when player is in a battleground.
  • The return values from GetInstanceInfo are similar, but different (offset by 1).
  • Semi-related functions: GetDungeonDifficultyID and GetRaidDifficulty.

Source

https://warcraft.wiki.gg/wiki/API_GetInstanceDifficulty · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.