local healthColor = Settings.HealthColor;
local shieldColor = Settings.ShieldColor;
local shieldhlColor = Settings.ShieldhlColor;
-local healpredColor = Settings.HealpredColor;
local healabsorbColor = Settings.HealabsorbColor;
local width, height = Settings.Target.Width, Settings.Target.Height;
local anchorX, anchorY = Settings.Target.AnchorX, Settings.Target.AnchorY;
frame.shieldhl:SetPoint("BOTTOMRIGHT", frame.healthback, "BOTTOMRIGHT", 1, 0);
frame.shieldhl:SetColorTexture(unpack(shieldhlColor));
frame.shieldhl:Hide();
- frame.healpred = frame:CreateTexture(nil, "ARTWORK");
- frame.healpred:SetPoint("TOPLEFT", frame.health, "TOPRIGHT");
- frame.healpred:SetPoint("BOTTOMLEFT", frame.health, "BOTTOMRIGHT");
- frame.healpred:SetColorTexture(unpack(healpredColor));
- frame.healpred:Hide();
frame.healabsorb = frame:CreateTexture(nil, "ARTWORK");
frame.healabsorb:SetPoint("TOPRIGHT", frame.health, "TOPRIGHT");
frame.healabsorb:SetPoint("BOTTOMRIGHT", frame.health, "BOTTOMRIGHT");