WoWInterface - View Single Post - Aritifact Power and quests?
View Single Post
10-29-16, 01:09 AM   #2
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 26
I couldn't find one, so I just scan the item's tooltip in Garrison Mission Manager's mission reward AP display and some macros I have to use all AP items in bag. Available in library here: https://wow.curseforge.com/addons/libttscan-1/. Usage for relevant function:
Lua Code:
  1. -- Get amount of AP
  2. ap_amount = LibStub:GetLibrary("LibTTScan-1.0").GetItemArtifactPower(item_id)
  3. -- Or just true/false if you want to see if item is AP consumable
  4. is_ap_consumable = LibStub:GetLibrary("LibTTScan-1.0").GetItemArtifactPower(item_id, true)
Garrison Mission Manager