From 108e6327448a6ec7ab79f6d250150699071424f2 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 30 Mar 2013 23:45:51 +0100 Subject: [PATCH] Make sure we set the right difficulty id --- HabeebIt.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/HabeebIt.lua b/HabeebIt.lua index b42d74c..3a05d4c 100644 --- a/HabeebIt.lua +++ b/HabeebIt.lua @@ -144,7 +144,9 @@ local function InitializeList(specific) local currentInstance = EJ_GetCurrentInstance() EJ_SelectInstance(currentInstance > 0 and currentInstance or 322) - EJ_SetDifficulty(GetRaidDifficultyID() - 2 or 1) + + local _, _, difficulty = GetInstanceInfo() + EJ_SetDifficulty(difficulty > 2 and (difficulty - 2) or 1) local _, _, classID = UnitClass('player') local specialization = GetSpecialization() -- 1.7.9.5