WoW LibCraftLevels addon Shadowlands/Burning Crusade Classic 2022
logo
wow addon LibCraftLevels

LibCraftLevels

Game Version: 6.0.2
Total Downloads: 411
Updated: Oct 17, 2014
Created: Oct 5, 2013
download LibCraftLevelsDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
1.01 release 28.59 KB Oct 17, 2014 6.0.2 232 download LibCraftLevels 1.01 releaseDownload
1.0 release 27.65 KB Aug 5, 2014 5.4.8 56 download LibCraftLevels 1.0 releaseDownload
r6 alpha 28.53 KB Feb 25, 2015 6.1.0 39 download LibCraftLevels r6 alphaDownload
r4 alpha 28.55 KB Oct 17, 2014 6.0.2 35 download LibCraftLevels r4 alphaDownload
r2 alpha 27.66 KB Oct 6, 2013 5.4.0 49 download LibCraftLevels r2 alphaDownload

Description

Share this:

LibCraftLevels is a library containing the levels related to a craft.

Namely:

– Levels at which a craft is orange / yellow / green / grey
– Level at which a craft is learned

Encoding:

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.

Usage:

local LCL = LibStub("LibCraftLevels-1.0")
local orange, yellow, green, grey = LCL:GetCraftLevels(spellID)

API

Get the craft levels of a given spellID

function lib:GetCraftLevels(spellID)

Get the level at which a craft is learned

function lib:GetCraftLearnedAtLevel(spellID)

Sets the craft levels of a given spellID

function lib:SetCraftLevels(spellID, learnedAt, orange, yellow, green, grey)

Comments

Add a comment