ingame/champion/championstar.lua:576 -- self.pointsSpinner:SetValidValuesFunction(function(oldValue, delta)
if self.star:IsSkillStar() then
local championSkillData = self.star:GetChampionSkillData()
if championSkillData:HasJumpPoints() then
if delta == ZO_SPINNER_LARGE_INCREMENT then
local nextJumpPoint = championSkillData:GetNextJumpPoint(oldValue)
return zo_min(championSkillData:GetMaxPendingPoints(), nextJumpPoint)
elseif delta == -ZO_SPINNER_LARGE_INCREMENT then
local previousJumpPoint = championSkillData:GetPreviousJumpPoint(oldValue)
return zo_max(championSkillData:GetMinPendingPoints(), previousJumpPoint)
end
end
end
return oldValue + delta
end)