The Romans attacked with the moon at their back, confusing the enemy who, because of the shadows, thought that they were nearer.
The Romans attacked with the moon at their back. The Romans were confusing the enemy. They were nearer. This enemy thought this. This was because of the shadows.