the main problem lies in the hero himself... he needs to have damage values specified for different creatures... a specialization (for each hero separately), and a few more minor details with characteristics and racial abilities...
---
*it will be practically impossible to level up a hero above level 40 (unless you sacrifice your army in the abyss, and even then it's not certain).