- Add class color option to health bars
Lanerra [10-19-14 - 22:21]
- Add class color option to health bars
- Added tapped color for unit frames
- Updated to 6.0
diff --git a/oUF_Lanerra.lua b/oUF_Lanerra.lua
index bf5d9fc..8811ec0 100644
--- a/oUF_Lanerra.lua
+++ b/oUF_Lanerra.lua
@@ -291,8 +291,16 @@ local UpdateHealth = function(Health, unit, min, max)
end
end
- -- Bar Color Stuff
- Health:SetStatusBarColor(.25, .25, .25)
+ -- Bar Color Stuff
+ if (Settings.Show.ClassColorHealth) then
+ Health.colorClass = true
+ else
+ Health:SetStatusBarColor(0.25, 0.25, 0.25)
+ end
+
+ if UnitIsTapped(unit) then
+ Health:SetStatusBarColor(0.6, 0.6, 0.6)
+ end
end
-- Group update health function
diff --git a/oUF_Lanerra.toc b/oUF_Lanerra.toc
index 3868ad8..8f8c005 100644
--- a/oUF_Lanerra.toc
+++ b/oUF_Lanerra.toc
@@ -1,5 +1,5 @@
-## Interface: 50400
-## Version: 1.5.4
+## Interface: 60000
+## Version: 1.5.5
## Title: oUF_Lanerra
## Notes: oUF layout by Lanerra
diff --git a/oUF_Lanerra_Config.lua b/oUF_Lanerra_Config.lua
index bd0125b..a32f9c1 100644
--- a/oUF_Lanerra_Config.lua
+++ b/oUF_Lanerra_Config.lua
@@ -6,7 +6,8 @@ Settings = {
ToT = true,
Party = true,
Raid = true,
- HealerOverride = true
+ HealerOverride = true,
+ ClassColorHealth = true,
},
Media = {
Border = 'Interface\\Addons\\oUF_Lanerra\\media\\borderTexture.tga',