What is the best and most recommended way to level up users using xp, and award new levels based on xp, and have skillpoints awarded for each level advancement?
From what i saw, it seems the best way is to create 3 stats (level, xp, skillpoints), setup segments to trigger level up when xp hits a certain point, carry out 3 actions (advance level, award skills points, reset xp).
This seems good, but suppose each player can advance from level 1 all the way to level 200, each with increasing non-linear xp requirements. Does that mean I literally need 200 different segments? Is there a better way to do this?
2nd question: the players have many skills in which they can spend their skill points into. Do all those skills need to be a player statistic, so that when a skill point is spent in that skill, I just call UpdatePlayerStatistic?