add armor part of attacked and attacking functions