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

LibAnimaPower

Game Version: 9.0.2
Total Downloads: 1
Updated: Nov 27, 2020
Created: Nov 26, 2020
download LibAnimaPowerDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
v1 release 2.75 KB Nov 27, 2020 9.0.2 0 download LibAnimaPower v1 releaseDownload

Description

Share this:

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.

Comments

Add a comment