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.
|