Perhaps the first post didn't imply a specific and clear algorithm?
I meant the entire algorithm, down to the smallest detail.
- what does this give, please explain?
The algorithm. Getting statistics and speculating on them is a worse option.
IMHO :)
Added after 4 minutes
The skill tree is generated when the map is launched. That is, you start the game, and a certain skill tree is generated. That is, you can study the tree on the first day, and it will remain constant throughout the game.
I agree with Horn. It's not exactly a tree that's created, but rather a random number (or several numbers) that is then used to generate everything.
Important point. If you get a skill in the witch's hut, the seer's hut, the university, or from a scholar, it completely breaks the skill tree and gives a new one, but it's permanent and doesn't depend on level-ups!
Of course. In the sense that you're talking about, the tree is broken; in a mathematical sense, that number is changed.
If you store the entire tree, it will take up a lot of space, believe me. :)