Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
v1 release | 2.75 KB | Nov 27, 2020 | 9.0.2 | 0 | Download |
Description
As Shadowlands Anima tokens are Legion AP tokens 2.0 there is no civilized way to access information about them in-game.
This small library provides access to this information without tooltip scanning.
Usage:
Load LibAnimaPower-1.0 with LibStub.
API:
IsAnimaItem(itemID_or_link)
Currently, it is a wrapper for C_Item.IsAnimaItemByID. Return boolean.
GetAnimaQuantity(itemID_or_link)
Return number of Anima points (integer) provided by itemID (integer) or item link (string).
Return -1 if something will go wrong or the provided item is not an Anima token.
GetAnimaQuantityInBackpack()
Return number of Anima points (integer) provided by all tokens currently in the player backpack.
Add a comment