Attack roll

When an attack is made, the attacker rolls a d20 (resulting in a number between 1 and 20). To see if the attacker hits, all attack bonuses that the character may have are added to the roll. This value is then compared against the Armor Class of the creature being attacked. If the attack roll is equal to or greater than the creatureâ€™s Armor Class, a hit is scored.