How did the use of firearms affect the outcome of the battle?