If these were dragons, we could have managed without these spells. But as it is, I would have given the main hero the "Mentor" skill from the mentor in the desert, shared experience with a hired necromancer from the tavern, improved dark magic with him, and gradually defeated the devils using berserk or charm, with several retreats from the battlefield.
Thank you, MasteR! For the advice and for the map itself! I managed to deal with the devils using "charm" and "blindness," and the rest was easy. The map is well-designed and thought out on all sides at the highest level. Thank you for your work!