View Single Post
07/10/18, 05:49 PM   #1
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
[outdated] GetUnitBuffInfo() - Add CombatUnitType sourceType

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 
Just have a simple request here - instead of boolen castByPlayer (or in addition) to it - I'd like to see (CombatUnitType sourceType) added to the returned values here to match EVENT_EFFECT_CHANGED

I filter out any debuffs not cast by the player on LUIE but I'd like to be able to still display debuffs cast by my pets. Currently, there is no way to do this except exclude those debuffs from being hidden (which lets all players see them).