weapon bar color

This commit is contained in:
Tercio Jose
2021-10-12 23:20:02 -03:00
parent d87611cfc5
commit 791ce4df93
+4 -2
View File
@@ -331,7 +331,10 @@
actor = actor or self
if (actor.monster) then
return _unpack (Details.class_colors.ENEMY)
elseif (actor.spellicon) then
return 0.729, 0.917, 1
elseif (actor.owner) then
return _unpack (Details.class_colors [actor.owner.classe or "UNKNOW"])
@@ -2879,7 +2882,6 @@ end
elseif (self.spellicon) then
texture:SetTexture (self.spellicon)
texture:SetTexCoord (0.078125, 0.921875, 0.078125, 0.921875)
texture:SetVertexColor (1, 1, 1)
elseif (classe == "UNKNOW") then
texture:SetTexture ([[Interface\AddOns\Details\images\classes_plus]])