WoWInterface SVN oUF_Smee2

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 4 to Rev 5
    Reverse comparison

Rev 4 → Rev 5

trunk/oUF/elements/threat.lua
21,7 → 21,7
local status = UnitThreatSituation(unit)
 
if(not self.OverrideUpdateThreat) then
if(status > 0) then
if(status and status > 0) then
local r, g, b = GetThreatStatusColor(status)
threat:SetVertexColor(r, g, b)
threat:Show()
trunk/oUF/elements/aura.lua
48,8 → 48,6
assert(global, 'X-oUF needs to be defined in the parent add-on.')
local oUF = _G[global]
 
local ulduar = select(4, GetBuildInfo()) >= 30100
 
local OnEnter = function(self)
if(not self:IsVisible()) then return end
 
103,12 → 101,10
end
 
local customFilter = function(icons, unit, icon, name, rank, texture, count, dtype, duration, timeLeft, caster)
local isPlayer = caster
local isPlayer
 
if(ulduar) then
isPlayer = caster == unit
else
caster = nil
if(caster == 'player' or caster == 'vehicle') then
isPlayer = true
end
 
if((icons.onlyShowPlayer and isPlayer) or (not icons.onlyShowPlayer and name)) then
131,9 → 127,9
if(show) then
if(not icons.disableCooldown and duration and duration > 0) then
icon.cd:SetCooldown(timeLeft - duration, duration)
icon.cd:Show()
icon.duration = duration
icon.timeLeft = timeLeft
icon.cd:Show()
else
icon.cd:Hide()
end
trunk/oUF/oUF.toc
1,7 → 1,7
## Interface: 30100
## Title: oUF
## Author: Haste
## Version: 1.3.9
## Version: 1.3.11
## X-eMail: troeks@gmail.com
## X-oUF: oUF
## Notes: Unit frame framework. Does nothing by itself.