I present to your attention the Skill Tree for HoMM II + everything else, only better :)
The program includes:
1) Morality and Luck Indicator 2.81;
2) MP Monitor for HoMM I-III;
3) Skill Tree Planner for HoMM II.
To use the Planner, in the "Settings" menu, select the "HoMM II (2.1)" version and click "Start". A new item "Calculation Depth" will appear in the "Settings" menu. Select the desired depth (5, 10, 15 levels - OK, but 20 levels - about 8-10 minutes!)
Enter the Hero's name, click "Find". If you find "garbage" instead of the Hero (although I installed a filter), double-click on the Hero's name in the list until the correct one appears. To display the Skill Tree, double-click on the Hero's NUMBER. Wait a little. The Skill Tree will appear in another window.