-- global functions used every update
local GetTime = GetTime;
local UnitAura = UnitAura;
-local UnitIsUnit = UnitIsUnit;
+local UnitIsPlayer = UnitIsPlayer;
local UnitIsConnected = UnitIsConnected;
local UnitIsDeadOrGhost = UnitIsDeadOrGhost;
local CompactRaidFrameContainer_ApplyToFrames = CompactRaidFrameContainer_ApplyToFrames;
aura.spellId = spellId;
aura.count = count;
aura.expires = expires;
- aura.mine = UnitIsUnit(caster, "player");
+ aura.mine = UnitIsPlayer(caster);
aura.icon = icon;
aura.debuffType = debuffType;
table.insert(unitAuras, aura);
-- show icon TODO coloring
ind.icon:SetTexture(found.icon);
end
- -- TODO make show text into general setting
- -- under which you can select what text to show
if config.showText then
-- show text
local text;