WoWInterface SVN Ara_Broker_XP

Compare Revisions

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

Rev 3 → Rev 4

trunk/Ara_Broker_XP.lua
1,10 → 1,9
local length, char, colorXP, colorRested, colorRemaining =
30, "||", "6060ff", "ff8040", "cccccc"
-- 30, "||", "6060ff", "40ff40", "cccccc"
 
if( UnitLevel"player" == 80 )then return end
local self = CreateFrame"Frame"
local strsub, strjoin, floor, XP, restedXP, maxXP, frame = strsub, strjoin, floor
local strsub, format, floor, XP, restedXP, maxXP, frame = strsub, format, floor
local lenChar, bar = strlen(char), strrep(char, length)
 
local block = LibStub("LibDataBroker-1.1"):NewDataObject("|cFFFFB366Ara|r XP", {