How do you remove the debuffs above enemy nameplates?
I want to show debuffs using weakauras to make it much easier to read, but I can’t remove the blizzard default ones.
I’ve tried “advanced interface opptions” addon, but there’s only a command for friendly targets there in Cvar list, not for enemy.
I’ve tried goolgeing but pretty much all posts about this link to one of the big UI mods such as ElvUI.
Is there no way to remove debuffs from nameplats without getting a nameplate addon?
local f = CreateFrame("Frame")
local events = {}
function events:NAME_PLATE_UNIT_ADDED(plate)
local unitId = plate
local nameplate = C_NamePlate.GetNamePlateForUnit(unitId)
local frame = nameplate.UnitFrame
if not nameplate or frame:IsForbidden() then return end
frame.BuffFrame:ClearAllPoints()
frame.BuffFrame:SetAlpha(0)
end
for j, u in pairs(events) do
f:RegisterEvent(j)
end
f:SetScript("OnEvent", function(self, event, ...) events[event](self, ...) end)