From ed5489e1feef0f4ffedfc5c31df40e28bfaa1108 Mon Sep 17 00:00:00 2001 From: Repooc Date: Sun, 17 Aug 2014 11:19:50 -0400 Subject: [PATCH] Not sure which items can or cant be enchanted any at this time but maybe these? --- .../modules/characterframe/characterframe.lua | 2 ++ ElvUI_SLE/modules/characterframe/core.lua | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/characterframe/characterframe.lua b/ElvUI_SLE/modules/characterframe/characterframe.lua index 0118d35..702c7dc 100644 --- a/ElvUI_SLE/modules/characterframe/characterframe.lua +++ b/ElvUI_SLE/modules/characterframe/characterframe.lua @@ -336,6 +336,8 @@ function CFO:ArmoryFrame_DataSetting() end _, _, ItemRarity, BasicItemLevel, _, _, _, _, _, ItemTexture = GetItemInfo(ItemLink) + --print(ItemRarity, ItemLink) + if ItemRarity == nil then return end r, g, b = GetItemQualityColor(ItemRarity) ItemUpgradeID = ItemLink:match(':(%d+)\124h%[') diff --git a/ElvUI_SLE/modules/characterframe/core.lua b/ElvUI_SLE/modules/characterframe/core.lua index 7070d70..ea98c40 100644 --- a/ElvUI_SLE/modules/characterframe/core.lua +++ b/ElvUI_SLE/modules/characterframe/core.lua @@ -14,8 +14,7 @@ SLArmoryConstants = { }, ['EnchantableSlots'] = { - ['ShoulderSlot'] = true, ['BackSlot'] = true, ['ChestSlot'] = true, ['WristSlot'] = true, ['HandsSlot'] = true, - ['LegsSlot'] = true, ['FeetSlot'] = true, ['MainHandSlot'] = true, ['SecondaryHandSlot'] = true + ['NeckSlot'] = true, ['BackSlot'] = true, ['Finger0Slot'] = true, ['Finger1Slot'] = true, ['MainHandSlot'] = true, ['SecondaryHandSlot'] = true }, ['UpgradeColor'] = { -- 1.7.9.5