Is there a way to only show the level if not max on player Controlled units & player pets?
Right now I use to show & hide my level.
but this lacks all no player frames
Code:
if(unit=='player' and playerClass == 'DRUID' and UnitLevel('player') < MAX_PLAYER_LEVEL) then
self:Tag(self.Name, '[difficulty][smartlevel] [raidcolor][name] [druidPower]')
elseif(unit=='player' and playerClass == 'DRUID') then
self:Tag(self.Name, '[difficulty][smartlevel] [raidcolor][name] [druidPower]')
elseif(unit=='player' and UnitLevel('player') < MAX_PLAYER_LEVEL) then
self:Tag(self.Name, '[difficulty][smartlevel] [raidcolor][name]')
else
self:Tag(self.Name, '[raidcolor][name]')
end