I know this is kind of a newbie question, but how does armor work in this game. Does it reduce the chance to hit, or does it reduce damage when you do get hit.

Just curious.