Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-16-14, 11:49 PM   #1
Aclii
A Defias Bandit
Join Date: Oct 2014
Posts: 2
Actual buff information ?

Hi! I'm trying to get actual buff amount (for example "Intellect increased by 2000" and then parse it) of player buffs. Since buff amount is scaled (player level, item ilvl, etc) UnitBuff->GetSpellDescription gives me wrong results. Is there any way to get this information using API or scanning tooltips text is the only way ?

Further I would like to sort buffs by type (intellect, crit, haste) and get theirs durations and power to show notification icons for prefered spell to cast if condition met (for example Chaos Bolt for destruction warlock).

My previous version uses hardcoded spellIDs for actual tier trinket procs and works fine, but I want to make something more flexible.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Actual buff information ?


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