There's a hardcoded thing where spear units get -4 to attack vs non-spear units (or is it just swordsmen?).