>the author does not really discuss here is the discipline of troops. While some armies were highly disciplined and would not be deterred by a hail of arrows
Case in point the Spartan army led by Leonidas. One of the soldiers apparently really said that if the Persians will rain fire arrows on them, they will fight in the shade.