large amounts of money and a great deal of engineering talent were devoted to the improvement of those engines of war , since the extension of the range of a catapult by a mere fifty paces could determine the outcome of a battle .