Originally Posted by decay2
Since Homestead, GetUnitBuffInfo returns a boolean castByPlayer at the end:
Lua Code:
GetUnitBuffInfo(string unitTag, number buffIndex) 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.