added definition of get atack and get defense values