Hello Guys ,
Was reading the bugs section but could not find this game breaking bug.
!! SPOILERS !!
--------------------
After I battle all the undead heroes (with my allies ) but I did NOT fight Eric yet , I lost ALL my spells from the spellbook . I am a mage , around level 50 so it makes me unable to complete the story . I still have all the scrolls , I can transform them into spells with crystals but all my old spells are gone

.
Trying to replace all my spells from scrolls would take a HUGE amount of time so I was wondering if there is a fix for this (or where are the entries for the spells , I know my way around editors and still remember some C++

)