Auto-translated
I try to develop any hero in both directions.
A warrior definitely needs some magic skills,
and a mage, on the contrary.
Since we almost always play on XL maps, I often had to deal with the Sphere of Inhibition or the Cloak (which blocks magic up to level 3), and it's rare for a mage to do anything in battle.
However, I remember a battle when, with the help of an open door and a large mana reserve, I snatched victory from a well-developed warrior. Situations can vary.
In general, a reasonable balance is best.