X-ray free-electron lasers enable high-resolution imaging of biological materials by using short enough pulses to outrun many of the effects of radiation damage. Experiments conducted at the LCLS have obtained diffraction data from single particles and protein nanocrystals at doses to the sample over 3 GGy. The details of the interaction of the X-ray FEL pulse with the sample determine the limits of this new paradigm for imaging. Recent studies suggest that in the case of crystalline samples, such as protein nanocrystals, the atomic displacements and loss of bound electrons in the crystal (due to the high X-ray intensity) has the effect of gating the diffraction signal, and hence making the experiment less radiation sensitive. Only the incident photon intensity in the first part of the pulse, before the Bragg diffraction has died out, is relevant to acquiring signal and the rest of the pulse will mainly contribute to a diffuse background. In this work we use a plasma based non-local thermodynamic equilibrium code to explore the displacement and the ionization of a protein nanocrystal at various X-ray wavelengths and intensities.