Fix weapons with attack=0 materials having invalid xp