Thread Tools Display Modes
10/17/18, 01:20 PM   #1
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
Originally Posted by sirinsidiator View Post
Ok. But in that case, how do I know the enchant quality?
You want the required level and the quality of the applied enchant?

Last edited by ZOS_ChipHilseberg : 10/17/18 at 01:32 PM.
 
10/17/18, 01:44 PM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
Originally Posted by ZOS_ChipHilseberg View Post
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:
  1. local enchantId = GetItemLinkDefaultEnchantId(armorItemLink)
  2. local searchCategory = GetEnchantSearchCategoryType(enchantId)
  3. local procAbilityId = GetEnchantProcAbilityId(enchantId)
  4. 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:
  1. local glyphItemLink = GetItemLinkDefaultEnchantLink(armorItemLink)
  2. local enchantId = GetItemLinkItemId(glyphItemLink)
  3. local searchCategory = GetEnchantSearchCategoryType(enchantId)
  4. local procAbilityId = GetEnchantProcAbilityId(enchantId)

Or maybe I am just mistaken?
 

ESOUI » Developer Discussions » Wish List » [implemented] get enchantment from equipment itemlink


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off