Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-14-12, 06:34 PM   #25
Gragagrogog
A Murloc Raider
Join Date: May 2011
Posts: 4
There's new API GetSpellCharges, which should return the desired value, at least for player unit. (haven't tested it myself...)

Also, paladins have clemency talent which give an additional charge to all "Hand of ..." spells.

EDIT: Just tested it...
it takes spellname or spellid as argument and returns 4 values: currentCharges, maxCharges, rechargeStartTime(same format as GetTime()), rechargeTime(in seconds)

It returns nil if the spell have only one charge.

Also found a bug... calling it with "Chi Torpedo" when having bothcelerity and of course Chi Torpedo talents returns incorect results, checking for "Roll" works fine even if its replaced with torpedo.

Last edited by Gragagrogog : 08-14-12 at 09:11 PM.
 
 

WoWInterface » Site Forums » Archived Beta Forums » MoP Beta archived threads » Power Auras Classic 5.0


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off