In the ancient Roman legions, one of the main weapons of their
soldiers was the javelin. This we could call a spear as per the
question.
There were several innovations made to the javelin that made it
a very effective weapon.
One example of this was a javelin that after it struck a target,
the head of the javelin would bend making it impossible for the
enemy to throw the javelin back to the Roman soldiers.