WoWInterface SVN oUF_Ruben

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 33 to Rev 34
    Reverse comparison

Rev 33 → Rev 34

trunk/oUF_Ruben/oUF_Ruben.lua
249,14 → 249,23
51662, -- Hunger For Blood
53601, -- Sacred Shield
53563, -- Beacon of Light
1454, -- Life Tap
1490, -- Curse of the elements
}) do
whitelist[GetSpellInfo(v)] = true
end
 
local myunits = {
player = true,
vehicle = true,
pet = true
}
 
function AuraBarFilter(name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable)
if unitCaster == "player"
and not (duration == 0 and expirationTime == 0)
and duration <= 30
or whitelist[name] then
if not myunits[unitCaster] then return end
if whitelist[name]
or not (duration == 0 and expirationTime == 0)
and duration <= 30 then
return true
end
end