Gunpowder. Since castle walls were sturdy and made from stone, gunpowder would allow users to simply blow up existing walls without needing to be dangerously close to them. This invention would become the primary device used in firearms and cannons in the future of war practices.