Complex sentence: Fighting was close, with the core of excellent Cossack infantry making up for the weakness of their cavalry; much of the decisive fighting was by the infantry and dismounted dragoons of each side.
Split into simpler sentences: Fighting was close, with the core of excellent Cossack infantry making up for the weakness of their cavalry. Most of the decisive fighting occurred between the infantry and dismounted dragoons of each side.