WoWInterface SVN OPieMasque

Compare Revisions

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

Rev 3 → Rev 4

trunk/Addon.lua
1,5 → 1,5
--[[------------------------------------------------------
OPie_Masque
OPie Masque
Adds Masque skinning support to OPie.
Written by Phanx <addons@phanx.net>
See the accompanying README file for more information.
64,8 → 64,8
end
 
function prototype:SetCooldown(remain, duration, usable)
if duration and duration > 0 and remain and remain > 0 then
local start = GetTime() + duration - remain
if duration and remain and duration > 0 and remain > 0 then
local start = GetTime() + remain - duration
self.cooldown:SetCooldown(start, duration)
self.cooldown:Show()
else