Corrected logic error in BaseWeapon.cs