Original: However, a combination of entrenchments, machine gun nests, barbed wire, and artillery repeatedly inflicted severe casualties on the attackers and counter attacking defenders.
Simplified: However, a combination of entrenchments, machine gun nests, barbed wire, and artillery stopped these advances before any major damage could be done to the opposing forces.