WoWInterface SVN zz_Worldboss

Compare Revisions

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

Rev 50 → Rev 51

trunk/zz_Worldboss/core.lua
4,7 → 4,7
local realm = GetRealmName()
local player = UnitName('player').."-"..realm
local maxlevel = 90
local curVersion = 5402
local curVersion = 6000
local db
local defaults = {
['hideRealm'] = true,
529,12 → 529,18
if( line ~= "") then
line = line .. "/"
end
line = line .. addon['colorize'](questData['name'], charData[questId] and '00ff00' or 'ff0000')
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'))
end
end
end
if(line ~= "" and (((db['sameRealm'] and cr == realm) and true or false) or not db['sameRealm'])) then
GameTooltip:AddDoubleLine(cdn,line)
GameTooltip:AddDoubleLine(cdn,strtrim(line))
end
end
end
723,6 → 729,8
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,