Quantcast

Not sure which items can or cant be enchanted any at this time but maybe these?

Repooc [08-17-14 - 15:19]
Not sure which items can or cant be enchanted any at this time but maybe these?
Filename
ElvUI_SLE/modules/characterframe/characterframe.lua
ElvUI_SLE/modules/characterframe/core.lua
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'] = {