+ if color then
+ if not frame.raid then
+ if UnitIsEnemy("player", unit) then
+ frame.health:SetVertexColor(1, 0, 0);
+ else
+ frame.health:SetVertexColor(color.r, color.g, color.b);
+ end
+ else
+ frame.name:SetVertexColor(color.r, color.g, color.b);
+ end
+ end