The mod is designed so that in campaigns and some maps, the Dwarfs have mage skills, but on other maps, they replace the Demons.
The same applies to the Elementals; they replace the mages, but after I changed the creatures, they stopped being summoned through portals, so I had to give them the destructive magic skill.