View Single Post
05-23-16, 09:59 PM   #53
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
Originally Posted by Ketho View Post
Why can't they just show your own castable (de)buffs just like in the CompactRaidFrames, instead of only a select few kind of debuffs?
Lua Code:
  1. function NamePlateDriverMixin:OnUnitAuraUpdate(unit)
  2.     ...
  3.     filter = "HARMFUL|INCLUDE_NAME_PLATE_ONLY"
  4.     ...
  5. end

That's the snag. For All player based debuffs we need
Lua Code:
  1. filter = "HARMFUL|PLAYER"
__________________

Last edited by syncrow : 05-23-16 at 10:01 PM.