Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local _, instanceType, difficulty, _, maxPlayers = GetInstanceInfo()
- if not instanceType then--It's a scenario and blizzard reports these really goofy. Only place instanceType is nil
- difficulty = "scenario"
- elseif difficulty == 1 then
- difficulty = "normal5"
- elseif difficulty == 2 then
- difficulty = "heroic5"
- elseif difficulty == 3 then
- difficulty = "normal10"
- elseif difficulty == 4 then
- difficulty = "normal25"
- elseif difficulty == 5 then
- difficulty = "heroic10"
- elseif difficulty == 6 then
- difficulty = "heroic25"
- elseif difficulty == 7 then
- difficulty = "lfr"
- elseif difficulty == 8 then
- difficulty = "challenge5"
- elseif difficulty == 9 then
- difficulty = "normal40"
- else
- difficulty = "unknown"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement