WoWInterface SVN idExperience

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 5 to Rev 6
    Reverse comparison

Rev 5 → Rev 6

trunk/Addon.lua
27,7 → 27,6
POSSIBILITY OF SUCH DAMAGE.
------------------------------------------------------------------------------]]
 
local _G = _G
local frame = CreateFrame('Frame')
 
local TL, TC, TR = 'TOPLEFT', 'TOP', 'TOPRIGHT'
46,9 → 45,9
local function print ()
local rested = GetXPExhaustion()
if rested then
ChatFrame1:AddMessage(('%s / %s = %s (%s %s%%)'):format(ExperienceLeft, ExperienceGain, RepetitionsNeeded, rested, math.floor(rested*100/ExperienceLeft)))
UIErrorsFrame:AddMessage(('%s / %s = %s (%s %s%%)'):format(ExperienceLeft, ExperienceGain, RepetitionsNeeded, rested, math.floor(rested*100/ExperienceLeft)))
else
ChatFrame1:AddMessage(ExperienceLeft..' / '..ExperienceGain..' = '..RepetitionsNeeded)
UIErrorsFrame:AddMessage(ExperienceLeft..' / '..ExperienceGain..' = '..RepetitionsNeeded)
end
end