From 4e4c63f62624113b948e0144154fee48348e5ff2 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 3 Sep 2016 23:14:30 +0300 Subject: [PATCH] Another quest item and fix for relic --- ElvUI_SLE/modules/professions/deconstruct.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/professions/deconstruct.lua b/ElvUI_SLE/modules/professions/deconstruct.lua index 0ed8dc3..0f58e7d 100644 --- a/ElvUI_SLE/modules/professions/deconstruct.lua +++ b/ElvUI_SLE/modules/professions/deconstruct.lua @@ -64,6 +64,7 @@ Pr.ItemTable = { --Quest dis ["Quest"] = { ["137221"] = true, --Ravencrest sigil + ["137286"] = true, --Demon runes }, } Pr.Keys = { @@ -305,6 +306,16 @@ function Pr:ConstructRealDecButton() end end +local function Get_ArtRelic() + local noItem = false + if T.select(2, T.GetItemInfo(132342)) == nil then noItem = true end + if noItem then + E:Delay(5, Get_ArtRelic) + else + relicItemTypeLocalized, relicItemSubTypeLocalized = select(6, GetItemInfo(132342)) + end +end + function Pr:InitializeDeconstruct() if not E.private.bags.enable then return end Pr:Construct_BagButton() @@ -324,5 +335,5 @@ function Pr:InitializeDeconstruct() Pr:Blacklisting("DE") Pr:Blacklisting("LOCK") - relicItemTypeLocalized, relicItemSubTypeLocalized = select(6, GetItemInfo(132342)) + Get_ArtRelic() end \ No newline at end of file -- 1.7.9.5