View Single Post
04-05-21, 02:21 PM   #1
Bakkon
A Defias Bandit
Join Date: Apr 2021
Posts: 3
API not updating inside Events

hey guys

i was made a simple mod to see my mana regeneration but its not updating the value properly

Lua Code:
  1. if event == "UNIT_AURA" then
  2. local base, cast = GetManaRegen()  
  3. base = base * 2
  4. print("mp2 : ", base)

the value isn't updating properly. its like one step behind. when i trigger it by applying an aura i get the old value when the aura is on and when the aura is off i get the value as if it was on

how could i fix this ??

im trying this on classic

tyvm
  Reply With Quote