Originally Posted by ZOS_ChipHilseberg
You want the required level and the quality of the applied enchant?
|
Maybe I am just misunderstanding, but I was thinking about getting the item link for the default, applied and final enchant so I can use it with all the other itemlink methods we already have. From what I know, we need the itemId (=enchantId?) and the quality to build that:
Lua Code:
local enchantId = GetItemLinkDefaultEnchantId(armorItemLink)
local searchCategory = GetEnchantSearchCategoryType(enchantId)
local procAbilityId = GetEnchantProcAbilityId(enchantId)
local glyphItemLink = string.format("|H1:item:%d:%d:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h", enchantId, missing)
Maybe you could just change the methods to give us the link, like this:
Lua Code:
local glyphItemLink = GetItemLinkDefaultEnchantLink(armorItemLink)
local enchantId = GetItemLinkItemId(glyphItemLink)
local searchCategory = GetEnchantSearchCategoryType(enchantId)
local procAbilityId = GetEnchantProcAbilityId(enchantId)
Or maybe I am just mistaken?