LibArmorToken-1.0

Library of data about what items tier tokens can be turned in for

Simple library for requesting what items tier tokens can be turned in for.

Usage:

local LAT = LibStub("LibArmorToken-1.0")
if LAT:IsItemToken(47558) then
    print("This is a token")
end
for _, classname in LAT:IterateClassesForToken(31095) do
    print(classname) -- "HUNTER", "SHAMAN", "WARRIOR"
end
for _, itemid in LAT:IterateItemsForTokenAndClass(31095, "HUNTER") do
    print("Item made:", itemid) -- prints 31962, 31003
end

The LibArmorToken-1.0 Team

profile avatar
Owner
  • 76
    Followers
  • 77
    Projects
  • 113.7M
    Downloads
Donate

More from KemayoView all