GetItemLinkRequiredCraftingSkillRank

From ESOUI Wiki

Jump to: navigation, search

Given an item link, this function returns the crafting skill rank that the player must have in order to use the item in crafting. This can be called on both raw materials and refined materials.

Arguments

itemLink
A string containing an item link.

Example

local rank = GetItemLinkRequiredCraftingSkillRank(itemLink)
--
-- If the item type is ITEMTYPE_POTION_BASE or ITEMTYPE_POISON_BASE:
--
if GetNonCombatBonus(NON_COMBAT_BONUS_ALCHEMY_LEVEL) >= rank then
   d("You can use this item to craft potions and poisons!")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox