Why is it needed? Players have enough with the probability table and knowledge of those specific details, like the guaranteed appearance of Wisdom. The specific implementation is only needed by someone who is going to modify it. :)
Has it been proven that the values from the probability table for classes are not subject to adjustments by the algorithm in the event of certain events (for example, in the case of already existing skills)?
If there is no correlation between the probabilities of skill drops, then it's a bit sad.
And who can say for sure what other rules there are besides Wisdom at level 6 and some magic school at level 4?
ERM has an operator that allows you to find out what will be offered at the next level. This means that Slava found the entry point to the desired function in the Heroes of Might and Magic code. Perhaps (in ERM, you can't be sure of anything in advance - everything needs to be tested :rolleyes:), this operator will allow you to write a script that generates a tree for a specific hero. The only question is, in what form should this tree be presented? At most, a script can create a text file. This means that another program is also needed to convert these text files into a visual format, for example, into a graph. This would undoubtedly be useful for offline play, but it would require a lot of work... However, if someone takes on the second part of the work (interpreting the text file), I could try to handle the first part. But it will only work in WoG and add-ons based on it; for classic SoD, unfortunately, it won't.
If this is an offer to everyone who is interested, then I will definitely think about it for a couple of days and write to you in a private message.