Auto-translated
Of course, the choice of skills also depends on the size of the map, the hero (warrior, mage), and some other factors. In general, for an average hero, the following are most important:
For everyone: wisdom, logistics, earth magic, air magic.
archery (for castles with good ranged monsters)
For a warrior, also attack and defense.
].