Make NPCs defend themselves when shot by player.

No Idea if this pull request stuff works or how it works, just hoping it does. :P