|1.01 release||28.59 KB||Oct 17, 2014||6.0.2||232||Download|
|1.0 release||27.65 KB||Aug 5, 2014||5.4.8||56||Download|
|r6 alpha||28.53 KB||Feb 25, 2015||6.1.0||39||Download|
|r4 alpha||28.55 KB||Oct 17, 2014||6.0.2||35||Download|
|r2 alpha||27.66 KB||Oct 6, 2013||5.4.0||49||Download|
LibCraftLevels is a library containing the levels related to a craft.
– Levels at which a craft is orange / yellow / green / grey
– Level at which a craft is learned
Information is encoded into a single lua number, and is extracted through bitwise operations.
If you wish to correct information about a given spell, edit the file manualFixes.lua, and follow the instructions.
local LCL = LibStub("LibCraftLevels-1.0") local orange, yellow, green, grey = LCL:GetCraftLevels(spellID)
Get the craft levels of a given spellID
Get the level at which a craft is learned
Sets the craft levels of a given spellID
function lib:SetCraftLevels(spellID, learnedAt, orange, yellow, green, grey)