implemented calculating the attack roll