WoWInterface SVN zz_Worldboss

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 51 to Rev 50
    Reverse comparison

Rev 51 → Rev 50

trunk/zz_Worldboss/core.lua
4,7 → 4,7
local realm = GetRealmName()
local player = UnitName('player').."-"..realm
local maxlevel = 90
local curVersion = 6000
local curVersion = 5402
local db
local defaults = {
['hideRealm'] = true,
529,18 → 529,12
if( line ~= "") then
line = line .. "/"
end
local newline = line .. addon['colorize'](questData['name'], charData[questId] and '00ff00' or 'ff0000')
if(strlen(newline)<=(db['wraplength'] or 255)) then
line = newline
else
line = line .. "\n"
end
-- GameTooltip:AddDoubleLine(" ",addon['colorize'](questData['name'], charData[questId] and '00ff00' or 'ff0000'))
line = line .. 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(cdn,strtrim(line))
GameTooltip:AddDoubleLine(cdn,line)
end
end
end
729,8 → 723,6
end
db['char_db'][player] = db['char_db'][player] or {}
db['char_db'][player]['level'] = UnitLevel('player')
local _, class, _ = UnitClass('player')
db['char_db'][player]['class'] = class
addon['AddConfigMenu'](addon,{
['name'] = "Expansions",
['order'] = 2,