Here's an example 0f what I was talking about; redirecting the function to a dummy function.
I added a couple other functions to redirect and a 4th to hook and reset the color.
Lua Code:
-- Define a dummy function that literally does nothing
local function DoNothing() end
-- Disable fade pulsing at <20% health
TargetFrame_HealthUpdate=DoNothing;
-- Disable health-based portrait tinting
TargetHealthCheck=DoNothing;
TargetofTargetHealthCheck=DoNothing;
-- This one's trickier since we want faction textures to work
-- Disable mob tap portrait fade
hooksecurefunc("TargetFrame_CheckFaction",function(self)-- Secure-hook this function to run our own code after
-- Note: This function runs from a template and portraits are optional
if self.portrait then self.portrait:SetVertexColor(1,1,1); end-- If portrait exists, set RGB filter to 100% on all channels
end);