shield and weapon code