Auto-translated
Click on the hero in the editor, go to ObjectPropretiesTree (the panel on the left). Find the line "Shared". Click on the line, click on the "..." button that appears to edit the hero (or "new" to create a new one). In the window that opens, you need to change the hero's class from "barbarian" to something else, and also change the initial skills and abilities to barbarian skills. Something like that.