Originally Posted by demitri
Code:
oUF.Tags["[beacon]"] = function(u) return UnitAura(u, "Beacon of Light") and "|cffFF5500.|r" or "" end
oUF.Tags["[shield]"] = function(u) return UnitAura(u, "Sacred Shield") and "|cffFFCF7F.|r" or "" end
oUF.TagEvents["[beacon]"] = "UNIT_AURA"
oUF.TagEvents["[shield]"] = "UNIT_AURA"
is the tags..
|
Code:
local name, rank, icon, count, debuffType, duration, expirationTime, isMine, isStealable = UnitAura("unit", index or ["name", "rank"][, "filter"])
Using
select, that would be:
Code:
oUF.Tags["[beacon]"] = function(u) return select(8, UnitAura(u, "Beacon of Light")) and "|cffFF5500.|r" or "" end
oUF.Tags["[shield]"] = function(u) return select(8, UnitAura(u, "Sacred Shield")) and "|cffFFCF7F.|r" or "" end
oUF.TagEvents["[beacon]"] = "UNIT_AURA"
oUF.TagEvents["[shield]"] = "UNIT_AURA"
Correct me if I'm wong. Can you post where you put these tags by the way?