Based on the documentation on the wiki for EVENT_SKILL_XP_UPDATE I would suggest changing FCL.NewSkill to:
Lua Code:
function FCL.NewSkill(eventCode, Category, Type, reason, rank, previousXP, CurrentXP)
local diff = 0
local display = ""
--d(Category .. "//" .. Type .. "//" .. CurrentXP .. "//" .. MaxXP .. "//" .. FCL.SkillsXP[Category][Type][3])
if (FCL.SkillsXP[Category][Type][3] == CurrentXP) or (FCL.SkillsXP[Category][Type][3] > CurrentXP) or (FCL.SkillsXP[Category][Type][3] == nil) then return end
if (FCL.CText.Skills[Category][Type] == false) then return end
diff = CurrentXP - previousXP
lastRankXp, nextRankXP = GetSkillLineXPInfo(8,Type)
cLevelXP = nextRankXP - lastRankXp
percent = string.format( "%.2f" , (CurrentXP/cLevelXP)*100)
SkillName = GetSkillLineInfo(8,Type)
display = "|cc8ff3a+" .. diff .. " " .. SkillName .. " (" .. percent .. "%)"
FCL.SkillsXP[Category][Type][3] = CurrentXP
if (FCL.CText.Time == true) then
table.insert(FCL.CText.You, 1, "[" ..GetTimeString() .. "]" .. display)
else
table.insert(FCL.CText.You, 1, display)
end
if FCL.CText.Chat == true then
d(FCL.CText.You[1])
end
if FCL.Hiden == "You" then
FCL.FadeTime = GetGameTimeMilliseconds()
for i = 1, FCL.CText.MaxLines do
if FCL.CText.You[FCL.Value + i] ~= nil then
_G["CombatLog_Textbox"..i]:SetText(FCL.CText.You[FCL.Value + i])
end
end
end
end
although I would trust Garkin to know better than me in the subject
Only standard notation on the actual parameters to the event seem to be for the first three only (as used in the ESOUI official module inside game0000.dat). The rest/number of parameters seem to vary from module to module.