Originally Posted by Soulcleaver
ive tried but fails.. i said before:P
i tried in lua but the thing i get is i can see myself as classcolored but target something else i get error.. thats the best ive done and canæt get it right:/
|
OK look for this bit of text:
Code:
if(unit == 'target') then
self:Tag(info, '[colorinfo][name]|r |cff0090ff[smartlevel] [rare]|r')
else
self:Tag(info, '[colorinfo][name]|r')
end
And change it to this:
Code:
if(unit == 'target') then
self:Tag(info, '[raidcolor][name]|r |cff0090ff[smartlevel] [rare]|r')
else
self:Tag(info, '[raidcolor][name]|r')
end
Basically you are replacing the tag [colorinfo] with the tag [raidcolor]. [colorinfo] is p3lim's custom tag to color your target name by whether or not its been tapped by you, dead or offline. [raidcolor] is a default oUF tag to display the Raid Color (aka class coloring] of your target. Tell me how this works out.
Another option is use the target's power bar (mana/energy/rage/runic power bar) to indicate the target class (and not change the target name's code)
Look for this code:
Code:
self.Power.colorTapping = true
self.Power.colorDisconnected = true
self.Power.colorClass = true
self.Power.colorReaction = true
and change to:
Code:
self.Power.colorTapping = false
self.Power.colorDisconnected = false
self.Power.colorClass = true
self.Power.colorReaction = false
This will set the Power Bar exclusively to Class coloring and not show any other type of color (tapped, DCed, reaction). Choose one or both. The bar option is the easiest in IMHO, however I am not an expert in lua (far from it).
I would have given my previous answer in greater detail in my previous post, however as I about to go sorting through my Frankenstein of an oUF layout, my beat up old PC decided to go on strike (it must work in the Italian transport sector), again.