Commit 52f8b907 authored by Blazeflack's avatar Blazeflack

Merge remote-tracking branch 'origin/master'

parents 31902a22 f8c231b6
......@@ -9,7 +9,7 @@ local _G = _G
local unpack, pairs, assert = unpack, pairs, assert
local twipe = table.wipe
local ceil, sqrt, floor, abs = math.ceil, math.sqrt, math.floor, math.abs
local format = string.format
local format, strupper = string.format, strupper
--WoW API
local IsInGroup = IsInGroup
local IsInRaid = IsInRaid
......@@ -529,6 +529,12 @@ ElvUF.Tags.Methods["deficit:name:colors"] = function(unit)
return String
end
ElvUF.Tags.Events['name:caps'] = 'UNIT_NAME_UPDATE'
ElvUF.Tags.Methods['name:caps'] = function(unit)
local name = UnitName(unit)
return name ~= nil and strupper(name) or ''
end
ElvUF.Tags.Methods["classcolor:player"] = function()
local _, unitClass = UnitClass("player")
local String
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment