We also have the ZO_SkillPointAllocationManager in SkillPointAllocationManager.lua. This is what's used to track how many skill points you have available to spend, and it takes into consideration when you're doing a skill respec which points are pending to be allocated to various skills before the commit. Most of the time, you can do:
SKILL_POINT_ALLOCATION_MANAGER:GetAvailableSkillPoints()
To get how many skill points there are available to spend at the moment. And you can register for when the value changes:
SKILL_POINT_ALLOCATION_MANAGER:RegisterCallback("SkillPointsChanged", function(availableSkillPoints) end)
However we have no way to tell you where you can get more skill points. The API doesn't have access to that information. As a general rule of thumb, finish Zone Stories, because typically if you 100% a Zone Story, you'll walk away with a bucket of skill points.
Last edited by ZOS_DanBatson : 05/12/20 at 09:56 AM.
|