If you're using the Neon theme, you could open up the "TidyPlates_Neon
\DPS\Functions.lua" file, and scroll down to line 94.
That function, "DPSAlpha(unit)" controls the opacity of nameplates.
You can alter the function to reduce the opacity to 0 when mobs are
above 35%. Here's how...
The function looks like this:
local function DPSAlpha(unit)
if unit.isTarget then return 1
else
if
unit.name == "Fanged Pit Viper" then return 0 end
if LocalVars.OpacityHideNeutral and unit.reaction == "NEUTRAL" then
return 0 end
if LocalVars.OpacityHideNonElites and not unit.isElite then return 0
end
if not UnitExists("target") then return 1 end
return LocalVars.OpacityNonTarget, true
end
end
Make it look like this:
local function DPSAlpha(unit)
if unit.isTarget then return 1
else
if (unit.health / unit.healthmax) > .35 then return 0 end -- ADD
THIS LINE
if
unit.name == "Fanged Pit Viper" then return 0 end
if LocalVars.OpacityHideNeutral and unit.reaction == "NEUTRAL" then
return 0 end
if LocalVars.OpacityHideNonElites and not unit.isElite then return 0
end
if not UnitExists("target") then return 1 end
return LocalVars.OpacityNonTarget, true
end
end