The tool-tip description of each type of Character gives a suggestion of what type of troops they are "best grouped with" in their retinue.
For example:
Commander
Excels at inspiring friendly troops, but weaker in melee. Best grouped with retinues of Melee Cavalry.
The colours of the heroes seem to match up with the recommended troop types from what I can see (Commanders are yellow, Melee Cavalry are yellow, Strategists are blue, Ranged Infantry are blue).
Is there was a specific mechanical benefit that these heroes receive by having the suggested troops in their retinue, or is it just general tactical advice?
2 Answers
Generally, the only mechanical benefit is the unit-specific skills in the general's skill tree. Look for skills that specify (own retinue) and a certain unit type. Here is every unit-specific skill that is exclusive to a general's retinue:
- Diligence (Sentinel) +5 melee evasion for melee infantry
- Passion (Vanguard) +25% melee damage for all shock cavalry
- Trust (Champion) +10% armor for all spear infantry
- Judgement (Strategist) +25% ranged damage
- Resourcefulness (Strategist) enables: flaming shot (for trebuchet units)
- Nobility (Commander) +20% ranged block chance for melee cavalry
Other skills work very well for both matching and non-matching unit types:
- Composure (Sentinel, Strategist, Commander) enables: fire arrows
- Fury (Vanguard) +25 charge bonus
- Intensity (Vanguard) +25 charge speed
- Mobility (Vanguard, Champion, Commander) +25% battle running speed (only applies to infantry)
These are only a handful of skills in five different 5x3 skill trees and some aren't available until your generals rank up a few times. It can still be optimal, for example, to have 4 shock cavalry and 2 melee cavalry in a Vanguard's retinue. There's no real issue with having rainbow armies early game or late game if you're only mixing swords/spears.
What the tooltip is likely referring to is recruitment of advanced units. Like another poster mentioned, each character type has a tier 2 unit available immediately. As you unlock units through the reform tree, early on they will only be available to matching generals (non-militia archers) and late-game they will be available to everyone (jade dragons).
There are two reasons
1) Some characters get special abilities, which only affect troops of that colour. e.g. strategists (blue) get an ability, which allows archers (also blue) to shoot fire arrows. Some commanders get the ability to let their cavalry use the wedge formation.
2) Advanced troop types can only be recruited by a general of the corresponding colour. So, an elite unit of yellow cavalry can only be recruited by a yellow general. The exception here are the factions special unit, so e.g. Liu Bei can recruit the elite Yi Marksmen, despite being a yellow general, because they are the Liu Bei factions unique unit.