git
/
wowui.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0721829
)
2a7fd87 - Change to UnitIsPlayer
author
Aleksi Blinnikka <aleksi.blinnikka@gmail.com>
Wed, 27 Dec 2017 19:31:36 +0000
committer
Aleksi Blinnikka <aleksi.blinnikka@gmail.com>
Wed, 27 Dec 2017 19:31:36 +0000
Indicators.lua
patch
|
blob
|
history
diff --git
a/Indicators.lua
b/Indicators.lua
index
f822e66
..
22712f2
100644
(file)
--- a/
Indicators.lua
+++ b/
Indicators.lua
@@
-18,7
+18,7
@@
local _;
-- global functions used every update
local GetTime = GetTime;
local UnitAura = UnitAura;
-- global functions used every update
local GetTime = GetTime;
local UnitAura = UnitAura;
-local UnitIs
Unit = UnitIsUnit
;
+local UnitIs
Player = UnitIsPlayer
;
local UnitIsConnected = UnitIsConnected;
local UnitIsDeadOrGhost = UnitIsDeadOrGhost;
local CompactRaidFrameContainer_ApplyToFrames = CompactRaidFrameContainer_ApplyToFrames;
local UnitIsConnected = UnitIsConnected;
local UnitIsDeadOrGhost = UnitIsDeadOrGhost;
local CompactRaidFrameContainer_ApplyToFrames = CompactRaidFrameContainer_ApplyToFrames;
@@
-79,7
+79,7
@@
local function getAuras(unit)
aura.spellId = spellId;
aura.count = count;
aura.expires = expires;
aura.spellId = spellId;
aura.count = count;
aura.expires = expires;
- aura.mine = UnitIs
Unit(caster, "player"
);
+ aura.mine = UnitIs
Player(caster
);
aura.icon = icon;
aura.debuffType = debuffType;
table.insert(unitAuras, aura);
aura.icon = icon;
aura.debuffType = debuffType;
table.insert(unitAuras, aura);
@@
-132,8
+132,6
@@
local function updateIndicators(frame)
-- show icon TODO coloring
ind.icon:SetTexture(found.icon);
end
-- 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;
if config.showText then
-- show text
local text;