Quantcast

Mob classifications should work now, i.e. Boss, Elite, etc..

Scott Sibley [10-01-10 - 06:16]
Mob classifications should work now, i.e. Boss, Elite, etc..
Filename
Modules/UnitTooltip/UnitTooltip.lua
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 217305c..6707836 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -134,15 +134,10 @@ return Realm(unit)
         left = 'return "Level:"',
         right = [[
 local lvl = UnitLevel(unit)
-local class = " "
---if Classification(unit) then
---    class = " (" .. Classification(unit) .. ")"
---end
-
 if lvl < 0 then
-    return "*"--Classification(unit) or "Unknown"
+    return Classification(unit)
 else
-    return format("%s", Level(unit))
+    return Level(unit)
 end
 ]],
 		enabled = true,