thehelper.net - Unknown Vector Leveling spells and useing hero spells To use a hero spell in spellbook, first make it a unit spell add it to spellbook then make it a hero spell aging. To level spells you need dialog boxes to ask which one to level each time the hero levels, my code is in the dummy map. My code has only 1 spell for easyier work but you can have 11.
Have to drop and dialog on hero leveling events, and use it's actions to allocate their hero points into that spell ID.
Sorry I wasn't more specific. The trigger Action you're looking for is:
Unit - Increase Level of Ability for Unit
Then apply in <ability> and <triggering unit>
It's up to you though exactly what events and conditions you want, the way in that example I linked you to is to use dialog boxes triggered when X unit levels. Then there is some IF THEN action triggers to handle which ability chosen and levels it with the above trigger I listed.
Now if you're having some kind of other problem read over that link I gave you, it has some basics on how to set up hero skill spellbooks.