The game says that you need to focus on all three types of attacks (magic, ranged, and melee) but I have yet to find any use for melee attackers as both magic and ranged have better range and can target flying enemies as well as ranged characters having a significantly greater attack speed than any other unit.