WoWInterface - View Single Post - API not updating inside Events
View Single Post
04-06-21, 07:24 PM   #7
A Defias Bandit
Simba's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 2
Originally Posted by Bakkon View Post
dang... should i just drop the events and use onupdate with a throttle??
You could do that, yes. You can also calculate the regen manually, from the spirit formulas as base mana is only regenerated from spirit in Classic. (eg. Priest regen is spirit / 4 + 12.5). That is what the API seem to do anyway. Tier set bonuses, enchants, mp5 and other sources aren't even included in the API, so either way you'd have to add them manually if you care that much.
Then you can use UNIT_AURA and UNIT_STATS, should work just fine

Last edited by Simba : 04-10-21 at 04:32 PM.
  Reply With Quote