WoWInterface - View Single Post - Arcane Charges
Thread: Arcane Charges
View Single Post
01-10-19, 05:27 AM   #1
A Flamescale Wyrmkin
Join Date: Feb 2018
Posts: 148
Arcane Charges

I have been using
local arcaneCharges = UnitPower("player", 16);

to determine the number of Arcane Charges (0 .. 4) and I have observed that in plenty of cases I get one less charges than are actually available. It seems there is a delay between the Arcane Blast "landing" and the API registering the charge. The GUI however works properly and properly shows the charges.

Is there an other way to know the proper number of charges ?

To explain, it is hard to count the Arcane Charges manually since it registers when a spell is cast successfully or when it hits something (Arcane Explosion), or in case it misses, can spells miss? On the combat log it would appear that the count increases before the hit is registered but in the same block.

I could perhaps implement own count by reading the event UNIT_SPELLCAST_SUCCEEDED but it is hard work, when there is a perfectly good API available.

Any suggestions please?

Last edited by doofus : 01-10-19 at 06:56 AM.
  Reply With Quote