WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Anima Powers (https://www.wowinterface.com/forums/showthread.php?t=58505)

doofus 12-29-20 05:09 PM

Anima Powers
 
Hello, is there an API to read the Anima Powers we get in Torghast?

quthar 01-02-21 04:28 PM

Lua Code:
  1. local MAW_BUFF_MAX_DISPLAY = 44;
  2. for i=1, MAW_BUFF_MAX_DISPLAY do
  3.     local _, icon, count, _, _, _, _, _, _, spellID = UnitAura("player", i, "MAW");
  4. end

I found this in BlizzardInterfaceCode/Interface/AddOns/Blizzard_MawBuffs.lua
In the function MawBuffsContainerMixin:Update

doofus 01-18-21 06:24 PM

Many thanks, it works!


All times are GMT -6. The time now is 06:55 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI