Not sure this went through last time I posted it. (Don't see it in the searches)
I was wondering if it would be possible to add the ability to display the information of Experiencefu
into the chat by pressing shift click while hovering over it on the fubar? Something like Current XP / Total XP. and have other options to add additional information like % to next level or % into this level.
I'm not exactly sure what you want, but it seems like a pretty simple addition. I'd say you should try doing it yourself, if you have specific tastes in the way you want your UI set up, being able to make "hacks" to existing mods will go a long way in achieving what you want. I've done a few mods to my local version of Fubar_NetStatsFu, and it was pretty simple, I'm sure Experiencefu is in the same boat...
LoL - I was thinking the same thing. What I tried is this (it is a hack from LocationFu) and it doesn't give me errors but it doesn't print the message. /shrug
ExperienceFu.clickableTooltip = true (at the top)
function ExperienceFu:OnClick() (at the bottom)
if IsShiftKeyDown() then
local totalXP = UnitXPMax("player")
local currentXP = UnitXP("player")
local toLevelXP = totalXP - currentXP
local sessionXP = self.sessionXP
local sessionTime = time() - self.entranceTime
local levelTime = self:GetLevelDuration()
local xpPerHourByLevel = floor(currentXP / levelTime * 3600)
local timeToLevelByLevel = toLevelXP * levelTime / currentXP
local xpPerHourBySession = floor(sessionXP / sessionTime * 3600)
local timeToLevelBySession = toLevelXP * sessionTime / sessionXP
local restXP = GetXPExhaustion() or 0
message= string.format("%s / %s TTNL: %s", currentXP, totalXP, timeToLevelBySession)
Most likely I will post questions in a different forum but at least I am making the attempt.