I'm at work and don't have the code here but I think the function is only called when UNIT_THREAT_SITUATION_UPDATE is fired. And this will only fire when you get Aggro, loose aggro or get that blizzard "High Threat!" warning.
If you want a finer threat display you will need to call a function that checks threat using a timer or onupdate function.
|