From 60dfa1dc34d6f934d35bca71884f877fbcf6e62f Mon Sep 17 00:00:00 2001 From: Scott King Date: Mon, 6 Jan 2014 00:14:30 -0800 Subject: [PATCH] Added idea made a note to try creating class detection for the future. --- PortraitHealth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PortraitHealth.lua b/PortraitHealth.lua index 1e4ea5d..57d78ed 100644 --- a/PortraitHealth.lua +++ b/PortraitHealth.lua @@ -3,7 +3,7 @@ function HealthPercentage() local TargetPercentHealth = math.floor((UnitHealth("target") / UnitHealthMax("target") * 100)); - -- recolor text at 35% + -- recolor text at 35% (future idea: class detection) if TargetPercentHealth <= 35 then PortraitHealth_Health:SetTextColor(1,0,0); else -- 1.7.9.5