WoWInterface SVN zz_Worldboss

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 53 to Rev 54
    Reverse comparison

Rev 53 → Rev 54

trunk/zz_Worldboss/core.lua
491,14 → 491,12
if(self['elapsed'] < 0) then
self['elapsed'] = 5
update()
 
end
end
local function event(self,evnt,...)
self:SetScript("OnUpdate", onupdate)
if(evnt == "PLAYER_REGEN_DISABLED") then
self:SetScript("OnUpdate", nil)
elseif(evnt == "PLAYER_REGEN_ENABLED") then
self:SetScript("OnUpdate", onupdate)
else
update()
end
534,16 → 532,16
if(strlen(newline)<=(db['wraplength'] or 200)) then
line = newline
else
GameTooltip:AddDoubleLine(nd and "" or (addon['classcolor'](cdn,(charData['class']))), line)
GameTooltip:AddDoubleLine(nd and " " or (addon['classcolor'](cdn,(charData['class']))), line)
nd = true
line = ""
end
-- GameTooltip:AddDoubleLine(" ",addon['colorize'](questData['name'], charData[questId] and '00ff00' or 'ff0000'))
-- GameTooltip:AddDoubleLine(" -",addon['colorize'](questData['name'], charData[questId] and '00ff00' or 'ff0000'))
end
end
end
if(line ~= "" and (((db['sameRealm'] and cr == realm) and true or false) or not db['sameRealm'])) then
GameTooltip:AddDoubleLine(nd and "" or (addon['classcolor'](cdn,(charData['class']))),(line))
GameTooltip:AddDoubleLine(nd and " " or (addon['classcolor'](cdn,(charData['class']))),(line))
end
end
end