find the spellbook abilities in the item abilities list..
then turn it into a hero ability
with like 20 levels
then you set the field for what abilities the book holds for every level
then you make a trigger to increase the level of your "spellbook" ability every few times your hero levels up.
