WoWInterface SVN Ara_Broker_XP

Compare Revisions

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

Rev 4 → Rev 3

trunk/Ara_Broker_XP.lua
1,9 → 1,10
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, format, floor, XP, restedXP, maxXP, frame = strsub, format, floor
local strsub, strjoin, floor, XP, restedXP, maxXP, frame = strsub, strjoin, floor
local lenChar, bar = strlen(char), strrep(char, length)
 
local block = LibStub("LibDataBroker-1.1"):NewDataObject("|cFFFFB366Ara|r XP", {