ZOS_ChipHilseberg wrote: »We're taking a look at it. Thanks for the heads up.
self.control:RegisterForEvent( EVENT_SKILL_XP_UPDATE, function( ... ) self:OnSkillXPUpdated( ... ) end ) OnSkillXPUpdated( eventCode, skillType, skillIndex, reason, rank, previousXP, currentXP)
I'm currently adding legerdemain xp to lootdrop, and I don't see your problem?
(maybe zos fixed it in 2.0.2 ?)self.control:RegisterForEvent( EVENT_SKILL_XP_UPDATE, function( ... ) self:OnSkillXPUpdated( ... ) end ) OnSkillXPUpdated( eventCode, skillType, skillIndex, reason, rank, previousXP, currentXP)
-> 7 (my rank)
-> 548, 549 : my previous global xp in skillline and my current global xp in skill line. same outputs for all other skilllines?
And if I lastSkillXP, nextSkillXP, currentSkillXP = GetSkillLineXPInfo(skillType, skillIndex)
I got 540/700/549 : xp needed to hit r7 - xp needed to hit next rank - current xp
I tested with a char rank 1 in legerdemain. I did my market to reach rank 2.
[11:58:42] rank : 1 ; previousXP = 39 ; currentXP = 40
[11:58:53] rank : 2 ; previousXP = 40 ; currentXP = 41
?