For random maps generated directly from the game, you will not be able to change the heroes' skills. You can only do this if you create a random map in the editor and then edit the heroes' skills.
Also, during gameplay, your heroes may acquire new, useful skills. You can evaluate them and choose a different hero as the main one, or even change the main hero multiple times during the game.
(Василь Симоненко. Люди – прекрасні)