View Single Post
02/15/17, 11:44 PM   #49
Phinix
 
Phinix's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 186
Originally Posted by decay2 View Post
Since Homestead, GetUnitBuffInfo returns a boolean castByPlayer at the end:

Lua Code:
  1. GetUnitBuffInfo(string unitTag, number buffIndex)
  2.  
  3.     Returns: string buffName, number timeStarted, number timeEnding, number buffSlot, number stackCount, textureName iconFilename, string buffType, number BuffEffectType effectType, number AbilityType abilityType, number StatusEffectType statusEffectType, number abilityId, boolean canClickOff, boolean castByPlayer

Maybe this helps?
Not for multi-target debuff tracking, but this does allow coding a "show only my debuffs" type option.

To reliably keep track of for example taunts on multiple targets you need the unitID. You can "guess" based on health values but this isn't really that reliable as they can change rapidly.
  Reply With Quote