Added idea
Scott King [01-06-14 - 08:14]
Added idea
made a note to try creating class detection for the future.
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