View Single Post
Old 04/23/07, 5:37 AM   #14 (permalink)
 Freddie
Now with 90% more cake
 
Freddie's Avatar
 
Night Elf Druid
 
Dragonblight
Sorry for the thread necromancy, but I came across this info while catching up on blue posts:

Originally Posted by Slouken
* UPDATED - name, rank, icon, count, duration, timeLeft = UnitBuff("target", i) -- Now returns duration and timeLeft for buffs you can cast.
* UPDATED - name, rank, icon, count, debuffType, duration, timeLeft = UnitDebuff("target", i); -- Now returns duration and timeLeft in some situations (?need details?).

The duration and timeleft are set if they are buffs/debuffs that you cast. The return values are now sorted so your buffs and debuffs are returned in the first indices. (e.g. yours, yours, others, ...)
It looks like rogues will now be able to find out some useful info, including how many charges _your_ Deadly Poison has on the mob, and the expiry time of all sorts of poisons (Crippling and Mind Numbing being the ones I am interested in). My alt is excited!
 
User is offline.
Reply With Quote