local UnitLevel, UnitClassification = UnitLevel, UnitClassification;
local RAID_CLASS_COLORS = RAID_CLASS_COLORS;
local UnitLevel, UnitClassification = UnitLevel, UnitClassification;
local RAID_CLASS_COLORS = RAID_CLASS_COLORS;
local Settings = OmaUFSettings;
local baseColor = Settings.BaseColor;
local overlayColorDispel = Settings.OverlayColorDispel;
local Settings = OmaUFSettings;
local baseColor = Settings.BaseColor;
local overlayColorDispel = Settings.OverlayColorDispel;
if UnitIsFriend("player", unit) and UnitDebuff(unit, 1, "RAID") ~= nil then
-- something dispellable
if frame.overlay.color ~= overlayColorDispel then
if UnitIsFriend("player", unit) and UnitDebuff(unit, 1, "RAID") ~= nil then
-- something dispellable
if frame.overlay.color ~= overlayColorDispel then
if frame.overlay.color ~= overlayColorCharm then
frame.overlay:SetVertexColor(unpack(overlayColorCharm));
frame.overlay:Show();
if frame.overlay.color ~= overlayColorCharm then
frame.overlay:SetVertexColor(unpack(overlayColorCharm));
frame.overlay:Show();