View Single Post
01-17-22, 11:15 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
You should be able to do something like changing:

Lua Code:
  1. local function Mixin(baseFrame)
  2.     baseFrame.UnitFrame.BuffFrame.ShouldShowBuff = newShouldShowBuff
  3. end
too:
Lua Code:
  1. local function Mixin(baseFrame)
  2.     if not UnitIsEnemy(baseFrame.UnitFrame.unit, "player") then return end
  3.     baseFrame.UnitFrame.BuffFrame.ShouldShowBuff = newShouldShowBuff
  4. end

So friendly units don't receive the filter. There may well be a better way.

For documentation, WowPedia is probably the best other than asking questions here or one of the other WoW UI focused websites like the WoW UI forum or Discord
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote