content: The problem I see with this is that, yes the weapon will know how it kill, but will it know how to make more ammo, or  get more electrictiy and the like. An AI weapon will learn how to kill in the best ways, but will not know how to gather more resources to keep going, and so is limited by the finite amout of resources it started out with. So basically it can kill a lot of people but eventually its batteries will run out.